Commit Graph

288 Commits

Author SHA1 Message Date
Paul Fitzpatrick
bcbf57d590 (core) bump mocha version to allow parallel tests; move more tests to core
Summary:
This uses a newer version of mocha in grist-core so that tests can be run in parallel. That allows more tests to be moved without slowing things down overall. Tests moved are venerable browser tests; only the ones that "just work" or worked without too much trouble to are moved, in order to keep the diff from growing too large. Will wrestle with more in follow up.

Parallelism is at the file level, rather than the individual test.

The newer version of mocha isn't needed for grist-saas repo; tests are parallelized in our internal CI by other means. I've chosen to allocate files to workers in a cruder way than our internal CI, based on initial characters rather than an automated process. The automated process would need some reworking to be compatible with mocha running in parallel mode.

Test Plan: this diff was tested first on grist-core, then ported to grist-saas so saas repo history will correctly track history of moved files.

Reviewers: jarek

Reviewed By: jarek

Subscribers: jarek

Differential Revision: https://phab.getgrist.com/D3927
2023-06-27 02:55:34 -04:00
Dmitry S
2740884e3c (core) Improve the look and behavior of /welcome/teams page (also shown for /welcome/start)
Summary:
- Move css module for the login page css to core/, to be reusable in core/ pages.
- Move /welcome/teams implementation to WelcomeSitePicker.ts
- List users for personal sites, as well as team sites.
- Add org param to setSessionActive() API method and end endpoint, to allow
  switching the specified org to another user.
- Add a little safety to getOrgUrl() function.

Test Plan: Added a test case for the new behaviors of the /welcome/teams page.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3914
2023-06-13 20:40:59 -04:00
github-actions[bot]
805485ed39
automated update to translation keys (#526)
Co-authored-by: Paul's Grist Bot <paul+bot@getgrist.com>
2023-06-05 08:53:49 -04:00
Paul Fitzpatrick
0fb5092e33 (core) updates from grist-core 2023-06-05 08:33:28 -04:00
Rémi LEBLOND
b9083d9a6d
Translated using Weblate (French)
Currently translated at 100.0% (803 of 803 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/
2023-06-04 23:49:11 +02:00
Jarosław Sadziński
da323fb741 (core) Floating formula editor
Summary:
Adding a way to detach an editor. Initially only implemented for the formula editor, includes redesign for the AI part.
- Initially, the detached editor is tight with the formula assistant and both are behind GRIST_FORMULA_ASSISTANT flag, but this can be relaxed
later on, as the detached editor can be used on its own.

- Detached editor is only supported in regular fields and on the creator panel. It is not supported yet for conditional styles, due to preview limitations.
- Old code for the assistant was removed completely, as it was only a temporary solution, but the AI conversation part was copied to the new one.
- Prompting was not modified in this diff, it will be included in the follow-up with more test cases.

Test Plan: Added only new tests; existing tests should pass.

Reviewers: JakubSerafin

Reviewed By: JakubSerafin

Differential Revision: https://phab.getgrist.com/D3863
2023-06-02 17:59:22 +02:00
Dmitry S
6b338256e0 (core) On mobile, only show a warning for older and unknown browsers rather than for all
Test Plan:
Tested listed versions against docs.getgrist.com using browserstack, and tested
with an iPhone and local server that new settings are noticed on mobile.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D3909
2023-06-01 11:15:21 -04:00
Camille L
af210002b8
Translated using Weblate (French)
Currently translated at 98.0% (787 of 803 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/
2023-05-26 10:51:46 +02:00
Riccardo Polignieri
101b4ad1eb
Translated using Weblate (Italian)
Currently translated at 100.0% (803 of 803 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/it/
2023-05-23 11:50:21 +02:00
Владимир В
f280877413
Translated using Weblate (Russian)
Currently translated at 99.6% (800 of 803 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/ru/
2023-05-23 11:50:21 +02:00
Camille L
c50efe6e30
Translated using Weblate (French)
Currently translated at 98.0% (787 of 803 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/
2023-05-23 11:50:21 +02:00
Paul Janzen
62b8f54672
Translated using Weblate (Spanish)
Currently translated at 100.0% (803 of 803 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2023-05-18 18:49:16 +02:00
Paul Janzen
417e500d3a
Translated using Weblate (German)
Currently translated at 100.0% (803 of 803 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
2023-05-17 18:14:07 +02:00
Paul Janzen
47e6d71f8e
Translated using Weblate (Spanish)
Currently translated at 100.0% (803 of 803 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2023-05-17 18:14:07 +02:00
gallegonovato
e2ad69828b
Translated using Weblate (Spanish)
Currently translated at 100.0% (803 of 803 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2023-05-17 18:14:06 +02:00
Paul Janzen
57beb25a5d
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (803 of 803 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
2023-05-17 18:14:06 +02:00
Camille L
5545f97b8d
Translated using Weblate (French)
Currently translated at 99.8% (786 of 787 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/
2023-05-17 10:52:01 +02:00
github-actions[bot]
3e0045db45
automated update to translation keys (#518)
Co-authored-by: Paul's Grist Bot <paul+bot@getgrist.com>
2023-05-15 12:27:27 -04:00
Riccardo Polignieri
5c36ae6988
Translated using Weblate (Italian)
Currently translated at 100.0% (787 of 787 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/it/
2023-05-14 18:49:32 +02:00
Paul Janzen
cf8558e6b4
Translated using Weblate (German)
Currently translated at 100.0% (787 of 787 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
2023-05-14 18:49:32 +02:00
gallegonovato
a6409776e7
Translated using Weblate (Spanish)
Currently translated at 100.0% (787 of 787 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2023-05-14 18:49:31 +02:00
Paul Janzen
a1fbb66304
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (787 of 787 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
2023-05-14 18:49:31 +02:00
Paul Janzen
01931bfe01
Translated using Weblate (German)
Currently translated at 100.0% (786 of 786 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
2023-05-13 03:51:01 +02:00
Paul Janzen
e0e29eccb1
Translated using Weblate (Spanish)
Currently translated at 100.0% (786 of 786 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2023-05-13 03:51:01 +02:00
Paul Janzen
b611526fde
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (786 of 786 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
2023-05-13 03:51:01 +02:00
CamilleLegeron
c16204f8ad
feature widget description (#483)
Add description to widget title popup and right panel
2023-05-12 09:08:28 -04:00
Camille L
a019c406ab
Translated using Weblate (French)
Currently translated at 98.0% (769 of 784 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/
2023-05-11 19:47:52 +02:00
github-actions[bot]
68fbeb4d7b
automated update to translation keys (#511)
Co-authored-by: Paul's Grist Bot <paul+bot@getgrist.com>
2023-05-08 11:15:09 -04:00
Paul Fitzpatrick
ae7d964bf2 (core) updates from grist-core 2023-05-08 09:34:11 -04:00
Dmitry S
8f34ba5157 (core) Remove a defunct URL constant and a product flavor.
Summary:
The URL /create-team-site on marketing site is unused, and no longer pointing to
anything functional.

The "efcr" product flavor has been defunct for a long time. Remove
references to it.

Test Plan: No tests should be affected

Reviewers: JakubSerafin

Reviewed By: JakubSerafin

Subscribers: JakubSerafin

Differential Revision: https://phab.getgrist.com/D3890
2023-05-05 18:28:04 -04:00
github-actions[bot]
4bdbba03e8
automated update to translation keys (#507)
Co-authored-by: Paul's Grist Bot <paul+bot@getgrist.com>
2023-05-03 16:57:49 -04:00
Riccardo Polignieri
c152289dba
Translated using Weblate (Italian)
Currently translated at 100.0% (784 of 784 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/it/
2023-04-29 19:49:59 +02:00
Владимир В
62603eaeec
Translated using Weblate (Russian)
Currently translated at 99.6% (781 of 784 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/ru/
2023-04-29 19:49:59 +02:00
Paul Janzen
c39ee01d0c
Translated using Weblate (German)
Currently translated at 100.0% (784 of 784 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
2023-04-29 19:49:58 +02:00
gallegonovato
dbbdc4571f
Translated using Weblate (Spanish)
Currently translated at 100.0% (784 of 784 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2023-04-29 19:49:58 +02:00
Paul Janzen
2e27143423
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (784 of 784 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
2023-04-29 19:49:57 +02:00
jarek
6a30461f82
Translated using Weblate (Polish)
Currently translated at 98.1% (761 of 775 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pl/
2023-04-27 14:48:36 +02:00
github-actions[bot]
549faf379b
automated update to translation keys (#499)
Co-authored-by: Paul's Grist Bot <paul+bot@getgrist.com>
2023-04-26 10:01:46 -04:00
github-actions[bot]
a3889a3b13
automated update to translation keys (#495)
Co-authored-by: Paul's Grist Bot <paul+bot@getgrist.com>
2023-04-17 11:41:01 -04:00
CamilleLegeron
3047bde1e4
rename welcomeTour file to WelcomeTour (#489) 2023-04-17 11:12:30 -04:00
Paul Fitzpatrick
f490854324 (core) updates from grist-core 2023-04-17 09:58:04 -04:00
Jarosław Sadziński
40ea6bb2bc (core) Focusing the creator panel on the table wiget for charts and custom views
Summary:
When a chart page/section is added and the creator panel is already open, focus is set to a "table" tab.
When a custom view is added as a page/section, the same thing happens, but there is also a behavioral tooltip shown
for the custom URL.

Test Plan: Updated and added.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3857
2023-04-14 12:45:24 +02:00
jarek
449265803b
Translated using Weblate (Polish)
Currently translated at 98.1% (761 of 775 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pl/
2023-04-12 09:49:54 +02:00
Владимир В
3e7acd9263
Translated using Weblate (Russian)
Currently translated at 99.4% (771 of 775 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/ru/
2023-04-12 09:49:54 +02:00
Paul Fitzpatrick
9d0e6694fc (core) updates from grist-core 2023-04-10 08:03:52 -04:00
Riccardo Polignieri
47d8bb2ad0
Translated using Weblate (Italian)
Currently translated at 100.0% (775 of 775 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/it/
2023-04-09 12:48:32 +02:00
Paul Janzen
761942ce9a
Translated using Weblate (German)
Currently translated at 100.0% (775 of 775 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/de/
2023-04-07 20:48:09 +02:00
gallegonovato
2f5f00650d
Translated using Weblate (Spanish)
Currently translated at 100.0% (775 of 775 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/es/
2023-04-07 20:48:09 +02:00
Paul Janzen
d4162c99e0
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (775 of 775 strings)

Translation: Grist/client
Translate-URL: https://hosted.weblate.org/projects/grist/client/pt_BR/
2023-04-07 20:48:09 +02:00
Jakub Serafin
ed7f812f7e (core) Added flags for chinese and italian languages
Summary: SVG flags icons for Italian and simplified Chinese

Test Plan: no new test added; no test changed

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D3851
2023-04-07 12:48:56 +02:00