忽如寄
396836dedd
refactor: ♻️ del children type ( #3283 )
...
* refactor: 🔧 del unnecessary children type
Change-Id: I3dea5e07f5401bdbdd168eb959fe361c57784167
* feat: 💄 eslint
Change-Id: Ie173adeca9e3112d8cdfc1f85964332105dcb424
* feat: 🔧 add css type
Change-Id: I8850c4d09b152f4d9c4d98e6eebca58bd9eecd37
* fix: 💄 ci lint
Change-Id: I69ff89c7a30e2bdcd26475ec83f3f5ec143121b6
2022-03-24 17:45:36 -07:00
Tom Moor
6af9246f26
feat: Allow disabling collection creation for members ( #3270 )
2022-03-24 16:02:50 -07:00
忽如寄
53d96d2cb3
refactor: ♻️ Flex type ( #3282 )
...
* refactor: ♻️ Flex type
Change-Id: I9043fa71a94c6d691e075b983c263be39b5a4b9b
* fix: 💄 eslint
Change-Id: I2c41ea588b8152a354998ec69ae85798cd6f3ff4
* fix: 💄 lint
Change-Id: I9467ca89b3a3c83dbfa0422869528e86db8d4fab
2022-03-24 15:57:11 -07:00
Tom Moor
3aaaf73a28
Add mouse safe area for when moving between contextual submenus
2022-03-18 20:53:41 -07:00
Tom Moor
018593a6aa
fix: Toasts hang on screen
2022-03-17 18:11:57 -07:00
Tom Moor
203980c845
fix: ARIA fixes, missing button labels
2022-03-16 23:41:06 -07:00
Tom Moor
76e1869ebf
fix: Catch error when emoji combinations cause document to be unable to persist ( #3250 )
...
* fix: Catch and warn of rare error when emoji combinations cause document to be unable to persist changes
closes #3230
* addEventListener -> removeEventListener
2022-03-16 15:18:16 -07:00
Nan Yu
d1b28499c6
chore: new arrow key navigation ( #3229 )
...
* rebuild keyboard navigation lists
* add new keyboard navigation components
* remove references to boundless-arrow-key-navigation
* fix aria-labels on paginated lists everywhere
2022-03-15 10:36:10 -07:00
Tom Moor
f3705b4a22
fix: Tweaks to share links management
2022-03-14 20:02:26 -07:00
Tom Moor
896f3700d0
fix: Cannot useCurrentUser in Sidebar as it is used unauthenticated on shares
2022-03-14 18:35:37 -07:00
Tom Moor
d63326066f
feat: Improve settings layout ( #3234 )
...
* Setup, and security settings
* Settings -> Details
* Settings -> Notifications
* Profile
* lint
* fix: Flash of loading on members screen
* align language input
* feat: Move share links management to sortable table
* Add account menu to sidebar on settings page
* Aesthetic tweaks, light borders between settings and slight column offset
2022-03-14 17:44:56 -07:00
Tom Moor
1633bbf5aa
cleanup search documents action
2022-03-14 17:41:55 -07:00
Tom Moor
5977fe4caa
fix: Editor title does not autoFocus on first load ( #3238 )
...
* fix: Editor title does not autoFocus on first load
* Detect IntersectionObserver for IE support
2022-03-13 22:08:26 -07:00
Tom Moor
10cc6ed154
fix: Sidebar cannot collapse after visiting settings ( #3235 )
2022-03-13 09:35:04 -07:00
Tom Moor
da8714a4f6
chore: Drive settings sidebar from new config ( #3236 )
2022-03-13 09:34:50 -07:00
Saumya Pandey
c979d003e4
fix: navigate to all the pages of settings through command bar ( #3226 )
...
* fix: create useAuthorizedSettingsConfig
* use config to render routes
* translations and icon
* mount in CommandBar
* memo
* Update app/hooks/useSettingsAction.tsx
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* fix: add actions into settings action
* remove comment
* fix: update shares
* fix: Remove Slack/Zapier from translations
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-03-13 09:38:36 +05:30
Tom Moor
b7097654b5
chore: Allow Button s to take action prop ( #3204 )
...
* Add ability for NudeButton to take action+context
* Add example usage
* Refactor to ActionButton, convert another example
* Remove dupe label
2022-03-12 15:46:13 -08:00
Tom Moor
31e15f798c
chore: Remove unused DocumentList component
2022-03-09 17:33:55 -08:00
Tom Moor
631d600920
feat: File attachments ( #3031 )
...
* stash
* refactor, working in non-collab + collab editor
* attachment styling
* Avoid crypto require in browser
* AttachmentIcon, handling unknown types
* Do not allow attachment creation for file sizes over limit
* Allow image as file attachment
* Upload placeholder styling
* lint
* Refactor: Do not use placeholder for file attachmentuploads
* Add loading spinner
* fix: Extra paragraphs around attachments on insert
* Bump editor
* fix build error
* Remove attachment placeholder when upload fails
* Remove unused styles
* fix: Attachments on shared pages
* Merge fixes
2022-03-06 13:58:58 -08:00
Saumya Pandey
8b0b383e9e
fix: don't hide sidebar when menu is open ( #3203 )
2022-03-05 23:00:41 +05:30
Tom Moor
edbcd3d4d2
fix: Tooltips on sidebar items are sometimes miss-positioned on mouseleave
2022-03-03 23:23:15 -08:00
Tom Moor
4f0ee2c3f8
fix: No reserved space for submenu arrow
...
fix: Submenu arrow miss-positioned when menu is scrollable
closes #3191
2022-03-03 22:40:12 -08:00
Tom Moor
7e930dd1c9
fix: Regression in actions background on sidebar links
...
closes #3194
2022-03-03 22:11:43 -08:00
Tom Moor
4468d29740
perf: Navigation of shared trees feels slow ( #3171 )
...
* perf: Navigation of shared trees feels slow
* remove redundant call to setActiveDocument
Co-authored-by: Nan Yu <thenanyu@gmail.com >
2022-03-01 21:51:51 -08:00
Tom Moor
eb7f8a8da0
Revert command bar launch from Search sidebar
2022-02-27 23:53:59 -08:00
Tom Moor
4c138ed585
feat: Add "new doc" button on collections in sidebar ( #3174 )
...
* feat: Add new icon button on collections in sidebar, move sort into menu
* Remove unused menu, add warning when dragging in a-z collection
* fix: Add hover background to sidebar actions, add tooltip to new doc button
* Retain 'active' state on buttons when related context menu is open
* fix: Two more spots that deserve active background
2022-02-26 11:48:32 -08:00
Tom Moor
6cbc30172c
fix: Search takes too much priority from cmd+k trigger
2022-02-26 11:47:48 -08:00
Tom Moor
42bf1530ac
fix: Missing padding at the bottom of settings screens
2022-02-25 21:21:10 -08:00
Tom Moor
ccacb65d9e
fix: Inset icon in collection headers, minor ContentEditable refactor ( #3168 )
2022-02-25 20:38:46 -08:00
Tom Moor
4713ea3680
fix: Alignment of sidebar loading placeholders
2022-02-23 22:22:35 -08:00
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
8832808fbe
fix: Spacing issues on connected slack channels list
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
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
6815269372
fix: Regular clipping of metadata on pinned documents #critfeedback
2022-02-18 16:55:29 -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
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