Commit Graph

90 Commits

Author SHA1 Message Date
Jarosław Sadziński
1dafe4bae0 (core) Expanding widgets
Summary:
New icon to expand an active section and show it as a popup (just like raw data views).

"Show raw data" popup couldn't be reused (as it is basically a different page), so now
we have two kinds of popups that look the same.

1. Raw data popup - to show an alien section on a page (a section from a different view). This is used by "Show raw data" button, it is basically a different page that shows an arbitrary section.

2. Layout popup - a popup generated by Layout.ts that basically hides every other section and adds an overlay effect to itself.

Other changes
- Layout.js was migrated to typescript
- "Show raw data" menu item was converted to link

Test Plan: new tests

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3764
2023-01-19 09:46:59 +01:00
Paul Fitzpatrick
0d8b7e80f6 tweak translation collection to be weblate-friendly
This tweaks the script for collecting translation keys so that it
changes the existing file minimally, and matches the formatting
output by weblate.

I'm not sure what is the best way to handle keys that are no longer
needed. I think it may be best to delete these within weblate, but
will need to experiment to see (I'm a weblate newbie). I think I
saw keys reappear from weblate if not deleted there.
2023-01-11 12:24:01 -05:00
Paul Janzen
8a59eacbfd
Translated using Weblate (Spanish)
Currently translated at 100.0% (605 of 605 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2023-01-08 16:49:10 +01:00
Paul Janzen
662e1eac8f
Translated using Weblate (German)
Currently translated at 100.0% (605 of 605 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
2023-01-07 15:48:46 +01:00
Paul Janzen
743a2215be
Translated using Weblate (Spanish)
Currently translated at 100.0% (605 of 605 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2023-01-07 15:48:46 +01:00
Paul Janzen
ab769ce8c5
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (605 of 605 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
2023-01-07 15:48:46 +01:00
Paul Fitzpatrick
31588fc6d7
Translated using Weblate (English)
Currently translated at 100.0% (605 of 605 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/en/
2023-01-05 19:43:07 +01:00
Yohan Boniface
8d380cb026
Translated using Weblate (French)
Currently translated at 100.0% (605 of 605 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/
2023-01-05 17:58:05 +01:00
Paul Fitzpatrick
3b4af3ce21 adapt weblate translations to new keys
Hope we won't change keys too often...
2023-01-04 23:29:49 -05:00
Paul Fitzpatrick
0cb3a6ce5c add stub server.json files for new translations 2023-01-04 17:10:41 -05:00
Paul Fitzpatrick
f5923ae011 Merge remote-tracking branch 'weblate/main' into weblate-sync 2023-01-04 16:46:30 -05:00
Paul Janzen
6324ec1e28
Translated using Weblate (German)
Currently translated at 100.0% (617 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
2023-01-04 21:12:29 +01:00
Paul Janzen
486ea899e2
Translated using Weblate (Spanish)
Currently translated at 77.6% (479 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2023-01-04 21:12:28 +01:00
Paul Janzen
ce1fafa062
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (617 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
2023-01-04 21:12:26 +01:00
Allan Nordhøy
a3dd07872a
Translated using Weblate (Norwegian Bokmål)
Currently translated at 14.9% (92 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/nb_NO/
2023-01-04 21:12:25 +01:00
Cyprien P
a04979bede (core) Enable search in column pickers
Summary: Adds a search input at the top of columns dropdown. Start typing in the search bar filters the list of column (matching occurences should work similarly as the autocomplete dropdown on Choice column).

Test Plan: Include tests.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3738
2023-01-04 10:02:12 +01:00
Paul Fitzpatrick
13cb4e8389 (core) adapt some translation keys after reorganization
Summary: adapt some translation keys after reorganization in https://github.com/gristlabs/grist-core/pull/367

Test Plan: existing tests

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3753
2023-01-03 15:10:56 -05:00
Louis Delbosc
78a1c2d890 Add fr translation and fix some translation on the go 2023-01-03 16:01:45 +01:00
Louis Delbosc
c18c6cb264 Clean generating script and english translation values 2023-01-03 16:01:45 +01:00
Louis Delbosc
4165c35dd3 Add translation keys generator script 2023-01-03 16:01:45 +01:00
Louis Delbosc
83ea6868cb Fix tests 2023-01-03 16:01:45 +01:00
Louis Delbosc
1d97137f11 Generated translation keys from code file 2023-01-03 16:01:43 +01:00
Cyprien P
cabac3d9d8 (core) Adds new view as banner
Summary:
Diff removes view-as pill in the document breadcrumbs and add new view-as banner.

Note: Banners are still missing mechanism to handle several banners. As of now both doc-usage and view-as banners could show up at the same time.

Test Plan: Refactored existing test.

Reviewers: jarek

Reviewed By: jarek

Subscribers: jarek

Differential Revision: https://phab.getgrist.com/D3732
2023-01-03 12:33:34 +01:00
Allan Nordhøy
7aed0cad47
Translated using Weblate (German)
Currently translated at 2.4% (15 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
2023-01-01 09:49:58 +01:00
Paul Janzen
a32f9c8568
Translated using Weblate (German)
Currently translated at 2.4% (15 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
2023-01-01 09:49:58 +01:00
Paul Janzen
873e331e69
Translated using Weblate (Spanish)
Currently translated at 14.9% (92 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2023-01-01 09:49:58 +01:00
Anais Concepcion
0889792172
Translated using Weblate (Spanish)
Currently translated at 14.9% (92 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2023-01-01 09:49:58 +01:00
Allan Nordhøy
a04d9bdbba
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.6% (615 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
2023-01-01 09:49:58 +01:00
Paul Janzen
ceedb8bd20
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.6% (615 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
2023-01-01 09:49:57 +01:00
Allan Nordhøy
2412329f22
Translated using Weblate (Norwegian Bokmål)
Currently translated at 5.0% (31 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/nb_NO/
2023-01-01 09:49:57 +01:00
Allan Nordhøy
ae6aa1a449
Translated using Weblate (English)
Currently translated at 100.0% (617 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/en/
2023-01-01 09:49:56 +01:00
Paul Janzen
a9f3261f6d
Added translation using Weblate (German) 2022-12-30 18:15:57 +01:00
Anais Concepcion
cd5abe104f
Translated using Weblate (Spanish)
Currently translated at 6.9% (43 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2022-12-30 18:14:03 +01:00
Paul Janzen
8178010375
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (617 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
2022-12-30 18:14:03 +01:00
Paul Janzen
4f275c101a
Translated using Weblate (French)
Currently translated at 98.3% (607 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/
2022-12-30 18:14:01 +01:00
J. Lavoie
bd1262de17
Translated using Weblate (French)
Currently translated at 98.3% (607 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/
2022-12-30 18:14:01 +01:00
Paul Janzen
7671978758
Translated using Weblate (English)
Currently translated at 100.0% (617 of 617 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/en/
2022-12-30 18:14:00 +01:00
Anais Concepcion
f66f0cd21a
Added translation using Weblate (Spanish) 2022-12-29 17:37:26 +01:00
Paul Janzen
73f4125355
Added translation using Weblate (Portuguese (Brazil)) 2022-12-29 17:26:12 +01:00
Allan Nordhøy
5d70558b1b
Added translation using Weblate (Norwegian Bokmål) 2022-12-29 01:24:58 +01:00
Cyprien P
620e86a9f1 (core) New date filter with a calendar view
Summary:
Implements the new date filtering panel. Design results from long
discussion between: Alex, Anais, Cyprien and Dmitry.

Test environment: https://grist-new-date-range-filter.fly.dev/

Test Plan: Include various new tests.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3720
2022-12-20 09:58:42 +01:00
George Gevoian
e146f95c1c (core) Add new UI for writing memos
Summary:
Adds a new UI for writing access rule memos.

Migrates old memos (written as Python comments) to the new UI.

Test Plan: Browser and migration tests.

Reviewers: jarek, dsagal

Reviewed By: jarek

Subscribers: dsagal, paulfitz

Differential Revision: https://phab.getgrist.com/D3726
2022-12-12 17:52:01 -05:00
Paul Fitzpatrick
ebaf04dace (core) add buttons to delete bad rules
Summary:
When access rules refer to tables and/or columns that no longer exist, offer convenient buttons to remove these rules.

It could alternatively be useful to generate errors when deleting tables or columns that are mentioned in access rules, and refuse to do so unless the access rules are updated first.

Test Plan: added and updated tests

Reviewers: georgegevoian

Reviewed By: georgegevoian

Subscribers: jarek

Differential Revision: https://phab.getgrist.com/D3718
2022-12-05 11:49:41 -05:00
Louis Delbosc
4116949ea5
Add translation for boolean value in toggle columns for text cell (#364) 2022-12-02 15:49:55 -05:00
Paul Fitzpatrick
94a7b750a8 (core) updates from grist-core 2022-11-21 09:50:26 -05:00
George Gevoian
1a6d427339 (core) Update sort and filter UI
Summary:
The sort and filter UI now has a more unified UI, with similar
capabilities that are accessible from different parts of Grist.
It's now also possible to pin individual filters to the filter bar,
which replaces the old toggle for showing all filters in the
filter bar.

Test Plan: Various tests (browser, migration, project).

Reviewers: jarek, dsagal

Reviewed By: jarek, dsagal

Subscribers: dsagal

Differential Revision: https://phab.getgrist.com/D3669
2022-11-17 15:33:45 -05:00
Jarosław Sadziński
0cf5e4025e Fixing type in translation files 2022-11-16 18:59:06 +01:00
Paul Fitzpatrick
7b7b26c983 (core) limit access to list of snapshots for documents with granular access
Summary:
Snapshots can now only be listed for users with non-nuanced access
(no access rules, or owners on docs with rules). If a snapshot URL
leaks, or is shared by a user who can list snapshots, that URL
behaves as before -- it gives access to the snapshot according
to access rules in that snapshot.

Test Plan: added test

Reviewers: georgegevoian, dsagal

Reviewed By: georgegevoian, dsagal

Subscribers: jarek

Differential Revision: https://phab.getgrist.com/D3698
2022-11-15 11:58:44 -05:00
Dmitry S
7a56cd1a51 (core) Add AddUser icon
Summary: Adding an icon to be used for the batch-add-users option in Manage Users dialog.

Test Plan: Checked manually

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D3696
2022-11-03 10:51:38 -04:00
Dmitry S
b263d83122 (core) Change 'Clear ... column' menu options to 'Reset', and make resetting columns reset type too
Summary:
The renaming is to clarify that the operation is more of a schema change, than
a data update. In particular, this is to reduce confusion why it is allowed to
anyone having Structure permission in Access Rules.

The resetting of type is a separate but related cleanup. Changing type to Any
returns the column to initial state, letting it guess type from new data, and
making it easy to enter a formula. It applies also to the "Clear and reset"
option in the Creator Panel.

Test Plan: Updated tests, added a check for type changing to Any.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D3685
2022-10-31 08:53:42 -04:00