Tom Moor
1d6bae05e6
fix: After renaming collection, url does not update
2021-10-24 17:57:17 -07:00
Tom Moor
2e56bdc388
fix: Command bar should bust cache when docs and collections are renamed
...
fix: Command bar should get larger on large screens
fix: Editable titles in sidebar should enforce max length
2021-10-24 17:32:28 -07:00
Tom Moor
33b6fbdee9
feat: Command Bar ( #2669 )
2021-10-24 12:30:27 -07:00
Tom Moor
c79a22b857
flow
2021-10-21 21:23:58 -07:00
Tom Moor
51971d2c9a
fix: Various aria and React warnings
2021-10-19 22:12:20 -07:00
Tom Moor
cc7a50fbb1
memoization
2021-10-14 21:23:28 -07:00
Saumya Pandey
b8efe772fe
fix: Warning when dragging document between collections with different user permissions ( #2516 )
2021-09-19 19:00:54 -07:00
Tom Moor
2aca760ee0
fix: Double document highlight in sidebar ( #2551 )
...
* fix: Single highlighted doc when starred
closes #2544
* fix: Collection expand/collapse as navigating starred docs
2021-09-11 15:54:05 -07:00
Tom Moor
801f6681ba
Collaborative editing ( #1660 )
2021-09-10 22:46:57 -07:00
Tom Moor
d335670b91
fix: Starred untitled draft has no title in sidebar
...
fix: Double click to edit starred document titles
2021-08-24 23:30:55 -07:00
Saumya Pandey and Tom Moor
f6d889f759
fix: Show starred docs in sidebar ( #2317 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2021-08-23 13:07:28 +05:30
Saumya Pandey
c9bd3bbf45
fix: Editing title in sidebar allows removal of title ( #2364 )
2021-07-26 00:17:39 +05:30
Saumya Pandey
bba8cd183b
fix: Archive and trash a document by dropping in the sidebar ( #2318 )
2021-07-21 00:49:41 +05:30
Saumya Pandey and Tom Moor
fdb85ec195
fix: Separate toasts storage to own MobX store ( #2339 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2021-07-20 14:36:10 +05:30
Tom Moor
31714efb0b
feat: useBoolean hook ( #2314 )
...
* feat: Add useBoolean hook and example usage
* More example usage
* chore: More useBoolean conversion
2021-07-15 12:27:03 -07:00
Tom Moor
30cf244610
chore: Loading placeholders ( #2322 )
...
* Improve visual of loading mask
* Normalize placeholder naming
* Remove unused file
2021-07-15 12:26:34 -07:00
Tom Moor
f8ffa4e25a
tweak sidebar item background
2021-07-04 18:44:09 -04:00
Farzad
7e139ca8f7
fix: nested link positions for RTL titles in sidebar ( #2272 )
2021-07-04 12:08:05 -07:00
Tom Moor
bb58db507d
fix: ew-resize -> col-resize cursor
2021-07-04 11:54:29 -04:00
Tom Moor
a1d5ac0907
RTL document support ( #2263 )
...
* Basic RTL support in documents
* fix: DocumentListItem and ReferenceListItem for RTL content
2021-07-03 07:00:10 -07:00
Tom Moor
7f1322b7ba
fix: Down arrow in search input should move focus to results ( #2257 )
...
closes #2253
2021-07-01 15:01:30 -07:00
Tom Moor
b4c08a027b
fix: Remove hover state css on sidebar items on mobile
...
closes #2043
2021-06-06 19:56:31 -07:00
Saumya Pandey and Tom Moor
a19ac6aa5f
fix: Failure loading collections on frontend results in loading loop ( #2176 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2021-06-05 09:52:49 -07:00
Tom Moor
8cfa724200
feat: Animate disclosure when toggling sidebar items
2021-05-22 21:22:28 -07:00
Tom Moor
b13626631c
fix: Space for overflow menu on sidebar items
2021-04-27 18:58:37 -07:00
Tom Moor
3b696cfa9a
fix: Page reloads in Firefox when clicking some menu items ( #2060 )
...
* fix: Some context menu items result in page reload in Firefox
closes #1877
* fix: Display of sidebar link actions on hover
2021-04-23 12:25:15 -07:00
Tom Moor
04b8d7ae7b
Normalize sidebar style
2021-04-18 21:52:54 -07:00
Tom Moor
1dd97c1ddd
feat: Show mobile-style (slide from bottom) menus on mobile ( #2025 )
...
* feat: Show mobile-style (slide from bottom) menus at responsive viewport sizes
* More mobile improvements
* fix: Safari compatability
2021-04-13 21:43:24 -07:00
Saumya Pandey and Tom Moor
bc4fe05147
feat: Read-only users ( #1955 )
...
* Introduce isViewer field
* Update policies
* Make users read-only feature
* Remove not demoting current user validation
* Update tests
* Catch the unhandled promise rejection
* Hide unnecessary ui elements for read-only user
* Update app/scenes/Settings/People.js
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* Remove redundant logic for admin only policies
* Use can logic
* Update snapshot
* Remove lint error
* Update snapshot
* Minor fix
* Update app/menus/UserMenu.js
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* Update server/api/users.js
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* Update app/components/DocumentListItem.js
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* Update app/stores/UsersStore.js
Co-authored-by: Tom Moor <tom.moor@gmail.com >
* Use useCurrentTeam hook in functional component
* Update translation
* Update ternary
* Remove punctuation
* Move the functions to User model
* Update share policy and shareMenu
* Rename makeAdmin to promote
* Create updateCounts function and Rank enum
* Update tests
* Remove enum
* Use async await, remove enum and create computed accessor
* Remove unused variable
* Fix lint issues
* Hide templates
* Create shared/types and use rank type from it
* Delete shared/utils/rank type file
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2021-04-11 19:39:17 -07:00
Tom Moor
2a6dfdea5d
fix: Highlight states and dropzones when user does not have permission to import
2021-04-10 13:54:05 -07:00
Tom Moor
1101ea428b
feat: Drop to import onto collection scene ( #2005 )
...
* Refactor to functional component
* feat: Basic drag and drop into collection
2021-04-05 19:05:27 -07:00
Saumya Pandey and Tom Moor
46bcc2e2ae
feat: Allow sorting collections in sidebar ( #1870 )
...
closes #1759
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2021-03-18 17:27:33 -07:00
Nan Yu
eff56b758c
feat: use flexbox to center the floating title ( #1959 )
...
* use flexbox to center the floating title
* simplify breadcumb alignment
* small adjustments
* fix alignment on actions
2021-03-15 19:24:14 -07:00
Tom Moor
bac7a364d0
fix: Drag and drop images in editor, conflict with sidebar react-dnd ( #1918 )
...
* fix: Drag and drop images in editor, conflict with sidebar react-dnd
see: https://github.com/react-dnd/react-dnd/pull/3052
* Bump to non-canary
* Upgrade react-dnd
* react-dnd api changes
* lint
* fix: dnd doesn't work on first render
* remove unneccessary async
* chore: Update react-dnd (API changed again)
* restore fade
2021-03-09 18:41:30 -08:00
Tom Moor
0c301fcf0c
fix: Enlarge scrollable area in sidebar for improved UX on small screens
2021-02-26 10:51:14 -08:00
Tom Moor
7e922d8716
feat: Installable PWA ( #1882 )
2021-02-15 15:19:51 -08:00
Tom Moor
4b603460cb
chore: Standardized headers ( #1883 )
...
* feat: Collection to standard header
feat: Sticky tabs
* chore: Document to standard header
* chore: Dashboard -> Home
chore: Scene component
* chore: Trash, Templates, Drafts
* fix: Mobile improvements
* fix: Content showing at sides and occassionally ontop of sticky headers
2021-02-14 13:18:33 -08:00
Tom Moor
1dbcc12648
feat: Inline collection editing ( #1865 )
2021-02-12 16:20:49 -08:00
Tom Moor and Tim
df472ac391
feat: add total users to people management screen ( #1878 )
...
* feat: add total users to pagination
* move this.total in runInAction callback
* add total counts + counts to people tabs
* progress: use raw pg query
* progress: add test
* fix: SQL interpolation
* Styling and translation of People page
Co-authored-by: Tim <timothychang94@gmail.com >
2021-02-09 20:13:09 -08:00
Tom Moor
cc90c8de1c
feat: Sidebar Improvements ( #1862 )
...
* wip
* refactor behaviorg
* stash
* simplify
2021-02-07 21:51:56 -08:00
Tom Moor
a9d60d288e
feat: Automatically scroll to active item in sidebar ( #1858 )
2021-02-01 19:29:54 -08:00
Tom Moor
32f0589190
chore: Upgrade flow ( #1854 )
...
* wip: upgrade flow
* chore: More sealed props improvements
* Final fixes
2021-01-29 21:36:09 -08:00
Tom Moor
c9fdf48c33
chore: Add missing labels to buttons without text and search inputs
2021-01-22 19:31:30 -08:00
Tom Moor
70626ffff0
feat: Organize sidebar ( #1834 )
...
* chore: Flip chinese label in language select
* feat: Add settings to sidebar, organize secondary items to bottom
2021-01-21 07:22:20 -08:00
Tom Moor
111212b038
feat: Resizable sidebar ( #1827 )
...
* wip: First round on sidebar resizing
* feat: Saving setting, animation
* all requirements, refactoring needed
* lint
* refactor useResize
* some mobile improvements
* fix
* refactor
2021-01-20 23:00:14 -08:00
Tom Moor
afcce7a0ef
fix: Add missing width/height tags to img
2021-01-17 21:49:51 -08:00
Tom Moor
e8b7782f5e
fix: Keyboard accessible context menus ( #1768 )
...
- Makes menus fully accessible and keyboard driven
- Currently adds 2.8% to initial bundle size due to the inclusion of Reakit and its dependency, popperjs.
- Converts all menus to functional components
- Remove old custom menu system
- Various layout and flow improvements around the menus
closes #1766
2021-01-13 22:00:25 -08:00
Tom Moor
de7bf8c133
fix: Fixes padding on sidebar collection links
...
closes #1770
2021-01-06 20:35:02 -08:00
Tom Moor
9df02d6fd4
chore: Improve toasts
2021-01-02 21:47:02 -08:00
Tom Moor
611e9b97b3
chore: Move collection sort control ( #1762 )
...
* feat: Move collection sort menu
* fix: Improve accessibility
* fix: Dedupe outline-icons (temporary until rme is next merged)
2021-01-02 19:11:13 -08:00