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
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
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
2dd86bbc2b
fix: Flash of uncolored pinned documents if pinned docs load before collections
2022-02-11 18:22:21 -08:00
Tom Moor
25fd8466e0
perf: Move to passive scroll listeners where supported
2022-02-10 19:29:25 -08:00
Saumya Pandey
42061edbd1
feat: add the ability to choose default collection ( #3029 )
...
Co-authored-by: Tom Moor <tom@getoutline.com >
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-02-10 10:06:10 +05:30
Tom Moor
5bc4405b23
fix: Alignment of team name in settings header, closes #3083
2022-02-09 19:47:57 -08:00
Tom Moor
aa09dc39fb
fix: NudeButton should always have button height
2022-02-08 20:22:08 -08:00
Tom Moor
d643c9453e
feat: Import improvements ( #3064 )
...
* feat: Split and simplify import/export pages in prep for more options
* minor fixes
* File operations for imports
* test
* icons
2022-02-06 22:29:24 -08:00
Tom Moor
1bb57bf15a
fix: Theme changes do not propagate to custom editor components in realtime
...
see TODO in #3031
2022-02-05 15:48:17 -08:00
Tom Moor
c5a11fe17b
chore: Enable eslint to enforce curly ( #3060 )
2022-02-05 10:15:40 -08:00
Nan Yu
ae0644177b
fix: make mobile popover dialog styling nice ( #3059 )
...
* fix: make mobile popover dialog styling nice
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-02-04 16:32:22 -08:00
Saumya Pandey
b14867c67e
fix: error from api rate limiting ( #3050 )
2022-02-03 09:13:46 +05:30