Commit Graph

75 Commits

Author SHA1 Message Date
5c6cb84383
refactor(components): sidebar looks and acts prettier now 2024-07-09 20:39:49 -04:00
a7b8c07952
refactor(components): navbar updates
add `key` attribute to `a-menu` element
only show "new story" button to logged in users
change `data` check to check for `data.user`
2024-07-09 20:31:53 -04:00
bb6d05be72
refactor(components): update icon component
merge styles passed in from a parent component inline
2024-04-20 19:22:11 -04:00
6fd6d7cbb1
refactor(components): add data-testid attribute to some components 2024-03-16 21:18:07 -04:00
5da97f5987
refactor(components): update navbar and sidebar
wrap `new story` button with a nuxt-link
2024-03-16 20:51:27 -04:00
7a9cbb1ffb
refactor(components): wrap story actions component's buttons in a nuxt-link 2024-03-16 20:27:04 -04:00
dcda8143f9
refactor(components): add loading spinner to client-only fallback slot 2024-03-16 20:26:05 -04:00
b10928fcf7
fix(components): wrap draggable in client-only 2024-03-16 15:29:21 -04:00
739cfb5eff
fix(components): make it so that reordering chapters in the story form no longer causes catastrophic state loss, rendering the tinymce components useless
all hail PORTALS!!!!!
2024-03-15 19:05:23 -04:00
5d921c5087
style(components): add  s to story info 2024-01-04 20:52:57 -05:00
4d6398d09f
fix(components): add null propagation to accessor in findUser 2024-01-04 20:47:43 -05:00
69cdaba253
refactor(pages, components): move recaptcha bits to separate component 2024-01-04 20:47:04 -05:00
af1b09f55c
fix(components): pagination works now (for realsies) 2024-01-04 20:46:12 -05:00
84c994448a
fix(components): allow clear in findUser component 2024-01-04 17:05:29 -05:00
a2b627cd11
fix(components): update storyForm
set `coAuthor` field's initial value to whatever is provided in the `data` prop instead of always null
2024-01-04 17:02:04 -05:00
72fa767db0
fix(components): edit findUser.vue
allow `initialOption` prop to be a number
if it is, fetch username via api to provide as the select element's label
2024-01-04 17:00:21 -05:00
205b241e3b
refactor(components): update storyForm
use vue's new `defineModel` functionality to mutate data more cleanly
2024-01-04 15:19:08 -05:00
cb2d4328a8
refactor(components): remove unused loaded injection from sidebar 2023-12-31 01:54:02 -05:00
ff0787f75e
refactor(components): change story overview card
make it show actions at the bottom depending on a prop `showActions`
2023-12-31 01:51:51 -05:00
8f24c9ff3d
refactor(components): create story actions component and related functions 2023-12-31 01:50:35 -05:00
21dbcde7c8
refactor(components): change layout
add collapsible version of navbar to side if screen width < medium, otherwise display the full horizontal navbar at the top
2023-12-30 19:09:06 -05:00
6faa88d83f
refactor(components): change common ip section in profile admin panel
remove v-if null-check
2023-12-30 16:37:10 -05:00
d2b4476b43
feat(components): show coAuthor in story info (if any) 2023-12-30 15:52:28 -05:00
83c1379ba6
fix(components): add null check to singleStory.vue
if author is null for some reason, show a static "..." instead of breaking everything
2023-12-30 15:51:33 -05:00
f8913e976d
refactor(components): remove i18n stub from singleReview.vue
we don't need it!
2023-12-30 15:50:20 -05:00
8f45dbe563
style(*): edit indents 2023-12-29 20:53:29 -05:00
c8e84c909e
style(*): cleanup unused imports 2023-12-29 20:11:07 -05:00
1c69ad6c2c
refactor(pages): move auth pages to auth subdirectory
i.e., /login, /register, /logout
2023-12-29 18:19:36 -05:00
b65c725a36
refactor(components): display co-author in story listing 2023-12-29 18:06:14 -05:00
d4ae55a25b
refactor(components): finish rename of storyForm.vue
also add mechanisms to save drafts beyond the original debounced functions
2023-12-29 17:21:02 -05:00
8a7c10b63a
chore(components): remove storyform.vue
this is to rename it
2023-12-29 17:11:19 -05:00
f2a7d0d9a6
fix(components): correct a-form-item prop type
undefined is not a string
2023-12-28 19:58:59 -05:00
813feaa31c
refactor(components): add custom submit text prop to story form 2023-12-28 19:58:37 -05:00
5d1af6a6fe
revert(components): roll back i18n boilerplate
we might not need it, since people of all walks of life can use the current site as-is, without needing US to localize things...
2023-12-28 19:58:25 -05:00
aad8f20466
fix(components): add last prop to story listing component 2023-12-25 20:17:11 -05:00
3e5af47107
refactor(*): refactor tsconfig paths
looks/feels nicer
2023-12-20 17:23:31 -05:00
410cb580d8
refactor(components): add autoEdit call to story form component
... if `canDraft` == false
2023-12-09 17:04:57 -05:00
6dfabd87d0
feat(nuxt): add formal error page 2023-12-09 17:03:36 -05:00
ee7ea24e4e
refactor(*): rename route
change "bands" to "band"

BREAKING CHANGE: breaks anything that tries to access `/api/bands/*`
2023-12-06 22:22:48 -05:00
b0a69d5d56
fix(components): change error prop from undefined to empty string 2023-12-06 22:20:09 -05:00
b3594c3cdb
refactor(server/utils): add chapter index parameter to storyCheck function 2023-12-06 22:16:35 -05:00
43f16b026d
refactor(components): add lock icon
adds a lock icon beside restricted stories in listings if not logged in
2023-12-06 21:50:41 -05:00
c4fc0806ed
feat(pages): add main story page
(finally)
2023-12-06 21:42:04 -05:00
14d9d12e5b
fix(components): make navbar show up properly 2023-12-01 17:58:12 -05:00
e574ef0b43
feat(components): create story info component for story page 2023-12-01 17:55:28 -05:00
9ecb93d85d
feat(pages): add chapter picker dropdown to story pages 2023-12-01 17:52:42 -05:00
afcd71a50d
fix(components): catch possible exceptions in uploadOrPaste component instead of letting them fail the whole opreation 2023-10-12 22:57:39 -04:00
fe2c471794
style(components): fixup icon 2023-10-11 16:40:30 -04:00
188b55724c
refactor(components): add co-author field to the story form 2023-10-11 16:27:32 -04:00
ba13c4a52f
refactor(components): add initialValue prop to the find-user component
in case we want to change instead of create
2023-10-11 16:26:47 -04:00