Commit Graph

3771 Commits

Author SHA1 Message Date
Tom Moor
a3b8e7a65e chore: Quick refactor to usePolicy hook (#3161) 2022-02-23 21:33:18 -08:00
Saumya Pandey
4c95674ef0 fix: Add ability to collapse and expand collections that are not active (#3102)
* fix: add disclosure and transition

* fix: keep collections expanded

* fix: tune transition and collapsing conditions

* fix: collectionIcon expanded props is no longer driven by expanded state

* fix: sync issue

* fix: managing state together

* fix: remove comment

* fix: simplify expanded state

* fix: remove extra state

* fix: remove animation and retain expanded state

* fix: remove isCollectionDropped

* fix: don't use ref

* review suggestions

* fix many functional and design issues

* don't render every single document in the sidebar, just ones that the user has seen before

* chore: Sidebar refinement (#3154)

* stash

* wip: More sidebar tweaks

* Simplify draft bubble

* disclosure refactor

* wip wip

* lint

* tweak menu position

* Use document emoji for starred docs where available

* feat: Trigger cmd+k from sidebar (#3149)

* feat: Trigger cmd+k from sidebar

* Add hint when opening command bar from sidebar

* fix: Clicking internal links in shared documents sometimes reroutes to Login

* fix: Spacing issues on connected slack channels list

* Merge

* fix: Do not prefetch JS bundles on public share links

* fix: Buttons show on collection empty state when user does not have permission to edit

* fix: the hover area for the "collections" subheading was being obfuscated by the initial collection drop cursor

* fix: top-align disclosures

* fix: Disclosure color PR feedback
fix: Starred no longer draggable

* fix: Overflow on sidebar button

* fix: Scrollbar in sidebar when command menu is open

* Minor alignment issues, clarify back in settings sidebar

* fix: Fade component causes SidebarButton missizing

Co-authored-by: Nan Yu <thenanyu@gmail.com>

Co-authored-by: Tom Moor <tom.moor@gmail.com>
Co-authored-by: Nan Yu <thenanyu@gmail.com>
2022-02-23 21:26:38 -08:00
Tom Moor
ce33a4b219 fix: Scrollbar in sidebar when command menu is open 2022-02-23 18:48:16 -08:00
Tom Moor
06ed6cfe9c fix: Buttons show on collection empty state when user does not have permission to edit 2022-02-22 23:57:46 -08:00
Tom Moor
a24cb9987c fix: Do not prefetch JS bundles on public share links 2022-02-22 21:02:38 -08:00
Tom Moor
8832808fbe fix: Spacing issues on connected slack channels list 2022-02-22 20:14:07 -08:00
Tom Moor
f244e864e1 fix: Clicking internal links in shared documents sometimes reroutes to Login 2022-02-22 20:14:07 -08:00
Tom Moor
63265b49ea feat: Trigger cmd+k from sidebar (#3149)
* feat: Trigger cmd+k from sidebar

* Add hint when opening command bar from sidebar
2022-02-22 20:13:56 -08:00
Tom Moor
d75af27267 feat: Hold toast on screen while mouse over 2022-02-19 22:15:49 -08:00
Tom Moor
c1df8c2162 Add danger background to dangerous menu items on hover (#3148)
closes #3105
2022-02-19 18:13:05 -08:00
Tom Moor
4b688e4ca0 fix: Minor styling issues on simple embeds 2022-02-19 11:14:45 -08:00
Saumya Pandey
5db73726f7 fix: create a generic notice component (#3144)
* fix: use unstable_fixed option

* fix: add icons in notice

* fix: create generic Notice component

* Refactor: Pull document notices into component

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2022-02-19 11:05:56 -08:00
Tom Moor
64d4462412 fix: Allow removing title via API
fix: Empty document title continously autofocuses
closes #3108
2022-02-19 09:10:06 -08:00
Tom Moor
34c5b60656 i18n 2022-02-18 18:23:26 -08:00
dependabot[bot]
2a6f640ebb chore(deps): bump url-parse from 1.5.3 to 1.5.7 (#3145)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-18 18:06:35 -08:00
Saumya Pandey
e779f43d79 fix: use unstable_fixed option 2022-02-18 16:58:21 -08:00
Tom Moor
6815269372 fix: Regular clipping of metadata on pinned documents #critfeedback 2022-02-18 16:55:29 -08:00
Tom Moor
d8a15b8389 fix: Height of user status filter on Members page 2022-02-18 08:59:53 -08:00
Tom Moor
72ca231931 fix: 'Never viewed' sometimes appears for document creators 2022-02-18 08:55:38 -08:00
Tom Moor
b9c7694b21 Updated placeholders, minor editor tweaks 2022-02-18 08:42:24 -08:00
Tom Moor
2a0ff2fe41 fix: Truncated timestamps in document history sidebar, useless tooltip, confusing more menus #critfeedback 2022-02-17 23:42:05 -08:00
Tom Moor
2ca68c2c80 fix: Cancel editing shortcut on Windows
fix: Improve display of symbols in keyboard shortcuts dialog
closes #2733
2022-02-17 23:10:11 -08:00
Tom Moor
9db6951434 fix: Server side validation for #3112 2022-02-17 22:51:18 -08:00
Tom Moor
3d5bf56d09 fix: It is possible to have a recent search item with no content, closes #3112 2022-02-17 22:45:30 -08:00
Tom Moor
9588ffc81e fix: Timestamp under doc title should toggle history sidebar, closes #3120 2022-02-17 22:36:46 -08:00
Tom Moor
df01e0dfbd fix: Disabled primary buttons should have a lighter appearance, closes #3110 2022-02-17 21:51:11 -08:00
Tom Moor
6a26e062d0 Round badges completely, tweak border #critfeedback 2022-02-17 21:46:47 -08:00
Tom Moor
ab573ba02c Stars are now yellow instead of depressing grey 2022-02-17 21:39:58 -08:00
Tom Moor
e109d5629f lint find and replace 2022-02-17 21:35:12 -08:00
Tom Moor
d5763233ca HelpText -> Text 2022-02-17 20:59:40 -08:00
Tom Moor
4efdbf7253 fix: Inconsistent header padding, closes #3115 2022-02-17 20:45:43 -08:00
Tom Moor
261cac950b fix: Capture Tab within editor, remove custom key handling in favor of keymaps
closes #3118
2022-02-17 20:41:13 -08:00
Tom Moor
27f9172750 fix: Collection with only draft shows empty state, closes #3119 2022-02-17 20:17:02 -08:00
Tom Moor
cbe65ddcd7 fix: Clicking links when editor hasn't been focused should navigate 2022-02-17 20:08:04 -08:00
Tom Moor
b23f7b0953 fix: Allow private, domain-restricted, Vimeo embeds 2022-02-17 09:12:02 -08:00
Translate-O-Tron
196c59f34c New Crowdin updates (#3085)
* fix: New French translations from Crowdin [ci skip]

* fix: New Portuguese translations from Crowdin [ci skip]

* fix: New Persian translations from Crowdin [ci skip]

* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]

* fix: New Chinese Traditional translations from Crowdin [ci skip]

* fix: New Chinese Simplified translations from Crowdin [ci skip]

* fix: New Swedish translations from Crowdin [ci skip]

* fix: New Russian translations from Crowdin [ci skip]

* fix: New Polish translations from Crowdin [ci skip]

* fix: New Spanish translations from Crowdin [ci skip]

* fix: New Italian translations from Crowdin [ci skip]

* fix: New German translations from Crowdin [ci skip]

* fix: New Danish translations from Crowdin [ci skip]

* fix: New Japanese translations from Crowdin [ci skip]

* fix: New Dutch translations from Crowdin [ci skip]

* fix: New Vietnamese translations from Crowdin [ci skip]

* fix: New Korean translations from Crowdin [ci skip]

* fix: New Thai translations from Crowdin [ci skip]

* fix: New Chinese Simplified translations from Crowdin [ci skip]

* fix: New French translations from Crowdin [ci skip]

* fix: New French translations from Crowdin [ci skip]

* fix: New Persian translations from Crowdin [ci skip]

* fix: New Persian translations from Crowdin [ci skip]
2022-02-16 18:06:08 -08:00
Tom Moor
d7ee801fe4 feat: Show icon on external links (#3100)
* feat: External links get treatment

* cache decorations
2022-02-16 18:05:02 -08:00
Nonpawit Teerachetmongkol
3760a03c44 feat: Add DBdiagram (dbdiagram.io) embed (#3124)
* Add dbdiagram embed

* clean variable name
2022-02-16 18:04:44 -08:00
Tom Moor
7e216109dc fix: Remove single-usage restriction on magic link tokens as these were consumed by link scanning software 2022-02-16 13:15:06 -08:00
Tom Moor
229f01513c fix: Export includes documents that have identical names (#3098) 2022-02-12 13:35:57 -08:00
Tom Moor
289f01970f fix: 'Alt' should be displayed as '⌥' on Mac 2022-02-12 09:16:17 -08:00
Tom Moor
0c716bf974 fix: Disable <a> as button showing default button styles in Safari only, closes #3101 2022-02-12 09:01:11 -08:00
Tom Moor
7807e3ac03 fix: Todo list items not showing as checked on Firefox 2022-02-12 08:45:04 -08:00
Tom Moor
f4af702492 lint 2022-02-11 18:55:39 -08:00
Tom Moor
4255dd24da editor: Open link toolbar automatically when editable and link in selection 2022-02-11 18:34:56 -08:00
Tom Moor
2dd86bbc2b fix: Flash of uncolored pinned documents if pinned docs load before collections 2022-02-11 18:22:21 -08:00
Tom Moor
09810f554f fix: Private vimeo embeds 2022-02-11 16:20:57 -08:00
Tom Moor
e5c8176ee6 Update email.ts 2022-02-10 21:20:58 -08:00
Tom Moor
25568c101c improves: Make command menu larger, darken toolbar, order image + link higher up menu 2022-02-10 20:15:28 -08:00
Tom Moor
590c23d539 Focus link selection on click rather than navigate when editing 2022-02-10 20:00:50 -08:00