Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: global polls #86

Merged
merged 140 commits into from
May 7, 2024
Merged
Changes from 1 commit
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
d4032dc
chore: ts
imorland Jan 29, 2024
adf5393
add nav item
imorland Jan 29, 2024
4b461a5
wip: add polls route, begin to setup state, controls, etc
imorland Jan 30, 2024
1857a44
Apply fixes from StyleCI
StyleCIBot Jan 30, 2024
ee37ee6
fix: some model props incorrect
imorland Jan 30, 2024
8fb8cc6
chore: format
imorland Jan 30, 2024
d49c1f9
feat: list polls controller
imorland Jan 30, 2024
d56bf39
Apply fixes from StyleCI
StyleCIBot Jan 30, 2024
f1e00db
fix: return type
imorland Jan 30, 2024
f897796
chore: ts-ignore
imorland Jan 30, 2024
4d197f3
use sort
imorland Jan 30, 2024
4799bba
Apply fixes from StyleCI
StyleCIBot Jan 30, 2024
822ddbf
chore: add test for existing create poll functionality via posts
imorland Jan 31, 2024
325cc32
Apply fixes from StyleCI
StyleCIBot Jan 31, 2024
03d355f
fix: provider visibility
imorland Jan 31, 2024
97d6348
fix: provider visibility
imorland Jan 31, 2024
fa69a3c
test: create post poll via api
imorland Jan 31, 2024
20b5917
Apply fixes from StyleCI
StyleCIBot Jan 31, 2024
7abeebe
ensure poll is associated with postId
imorland Jan 31, 2024
c8e60a0
feat: allow creation of polls without post id (global poll)
imorland Jan 31, 2024
a322750
Apply fixes from StyleCI
StyleCIBot Jan 31, 2024
6e52663
fix: phpstan error
imorland Jan 31, 2024
0a4dcf4
add unauthorized api test
imorland Jan 31, 2024
d130f6b
list polls only shows global polls
imorland Feb 1, 2024
69b47f9
add isGlobal peroperty to js model
imorland Feb 1, 2024
f2e6f32
feat: optional poll subtitle
imorland Feb 15, 2024
ce20ae8
Apply fixes from StyleCI
StyleCIBot Feb 15, 2024
11d900d
Sh/form UI (#90)
novacuum Feb 27, 2024
284ab1f
remove commented code
imorland Feb 27, 2024
c0b3421
add translations
imorland Feb 27, 2024
b547d8a
export showcase components
imorland Feb 27, 2024
c7d1768
Reset dist folder to match master branch
imorland Feb 27, 2024
ddd218d
use abstract base
imorland Feb 28, 2024
bca66b7
use more of abstractpollpage
imorland Feb 28, 2024
f5c8b5f
fix: handling of relational data (PollOptions) in the form and saving…
novacuum Feb 28, 2024
7642ecb
dont display tags in the nav for polls pages
imorland Feb 28, 2024
e6ffb9f
chor: transform ListVotersModal to typescript
novacuum Feb 28, 2024
689f741
convert to ts
imorland Feb 28, 2024
4bed7af
add config for polls storage disk
imorland Feb 28, 2024
f41bd0c
Apply fixes from StyleCI
StyleCIBot Feb 28, 2024
7e46d95
wip: poll image upload
imorland Feb 29, 2024
b362af6
chor: move add* js files to tsx format
novacuum Feb 29, 2024
63a6c66
fix: prevent unload in pollview
novacuum Feb 29, 2024
9276924
chor: clean up PollState
novacuum Feb 29, 2024
42ca72d
format js
imorland Feb 29, 2024
35ce0db
chor: update typing
novacuum Mar 3, 2024
489b918
refactor: first attempt to merge PostPolls with PollView
novacuum Mar 3, 2024
a35ef81
wip: poll image upload
imorland Mar 4, 2024
da64c23
Apply fixes from StyleCI
StyleCIBot Mar 4, 2024
f69f869
chor: remove custom poll option views
novacuum Mar 5, 2024
040ccd2
fix: users could not vote on global polls
novacuum Mar 5, 2024
4d43acf
chor: replace "old" PostPoll component with new PollView
novacuum Mar 5, 2024
5fe5753
fix: result page was not shown after vote and reload full page
novacuum Mar 5, 2024
49a1cc4
fix: date could not be deleted
novacuum Mar 6, 2024
aed0f1a
chor: extend pollButtonSubmit with event
novacuum Mar 6, 2024
68a4645
chor: revert customization changes back to original functionality
novacuum Mar 6, 2024
e630f63
format js
imorland Mar 6, 2024
5f37851
chor: optimize layout
novacuum Mar 6, 2024
6d69725
feat: poll image upload
imorland Mar 6, 2024
4f8485b
Apply fixes from StyleCI
StyleCIBot Mar 6, 2024
18e5ddc
add pollimage interface
imorland Mar 6, 2024
e0bfba4
feat: add image alt to poll
novacuum Mar 6, 2024
974c72e
Apply fixes from StyleCI
StyleCIBot Mar 6, 2024
507abd9
fix: image alt migration and view
novacuum Mar 6, 2024
0797381
Merge remote-tracking branch 'origin/im/global-polls' into im/global-…
novacuum Mar 6, 2024
7b383b6
chor: format
novacuum Mar 6, 2024
3965ca0
chor: poll image styling
novacuum Mar 6, 2024
0d959ea
fix: add image when update poll
novacuum Mar 6, 2024
e0e0f64
chor: format
novacuum Mar 6, 2024
1021e05
handle edit/delete of poll image
imorland Mar 7, 2024
ebb0cfa
Apply fixes from StyleCI
StyleCIBot Mar 7, 2024
77091e0
style poll image
imorland Mar 7, 2024
10dcbca
poll footer
imorland Mar 7, 2024
f2a1760
title for active and ended polls on showcase page
imorland Mar 7, 2024
4919682
fix current user vote on showcase page
imorland Mar 7, 2024
43627e9
further styling on showcase page
imorland Mar 7, 2024
c856a9a
feat: global polls feature switch
imorland Mar 7, 2024
96cc298
Apply fixes from StyleCI
StyleCIBot Mar 7, 2024
04b133b
set image corner
imorland Mar 7, 2024
bcd2e69
feat: add poll option image
novacuum Mar 7, 2024
20f9d07
Merge remote-tracking branch 'origin/im/global-polls' into im/global-…
novacuum Mar 7, 2024
4fbb9bd
Apply fixes from StyleCI
StyleCIBot Mar 7, 2024
be6d2cf
fix: remove migration for alt image on poll option
novacuum Mar 7, 2024
8b74d51
Merge remote-tracking branch 'origin/im/global-polls' into im/global-…
novacuum Mar 7, 2024
e4b3b5c
move + icon
imorland Mar 7, 2024
fcd0607
Revert "fix: remove migration for alt image on poll option"
imorland Mar 7, 2024
07abbba
Revert "feat: add poll option image"
imorland Mar 7, 2024
870eb19
fix broken tests
imorland Mar 7, 2024
9e970cf
build js
imorland Mar 7, 2024
3534228
chore: make for easier extending of certain poll components
imorland Mar 12, 2024
49837f2
build js
imorland Mar 12, 2024
e66d2c7
feat: events for polloptions
imorland Mar 12, 2024
4e4034f
export PollImage component
imorland Mar 12, 2024
db1266c
feat: extendable include params
imorland Mar 12, 2024
5e28ae0
chore: build js
imorland Mar 12, 2024
3bfd0e4
Apply fixes from StyleCI
StyleCIBot Mar 12, 2024
f574e2f
fix: extendable
imorland Mar 13, 2024
514e6b5
Apply fixes from StyleCI
StyleCIBot Mar 13, 2024
d1bf23c
chore: fix issue with images being deleted after edit
DavideIadeluca Mar 13, 2024
5f99452
style: run formatter
DavideIadeluca Mar 13, 2024
ab896b8
chore: export PollControls
imorland Mar 14, 2024
988624d
chore: format
imorland Mar 14, 2024
cc09bb8
fix: view results of global polls, allow voting for normal users
imorland Mar 14, 2024
5a6161c
fix: view voters visibility
imorland Mar 14, 2024
ca1964d
Apply fixes from StyleCI
StyleCIBot Mar 14, 2024
cf5d76a
fix: admins could not see voters
imorland Mar 14, 2024
7047627
build js
imorland Mar 14, 2024
0d3c35f
chore: improvements for extensibility
imorland Mar 14, 2024
16d2038
chore: build js
imorland Mar 14, 2024
7ab5b79
Revert "chore: fix issue with images being deleted after edit"
DavideIadeluca Mar 15, 2024
1338db5
fix: rename image attribute to reflect backend changes
DavideIadeluca Mar 15, 2024
7698424
chore: build js
DavideIadeluca Mar 15, 2024
822a777
feat: option images, config resize
imorland Mar 27, 2024
2806eb7
build js
imorland Mar 27, 2024
c2aa793
Apply fixes from StyleCI
StyleCIBot Mar 27, 2024
3ea9dcf
fix: phpstan
imorland Mar 27, 2024
b3744eb
chore: add translations, remove unused code
imorland Mar 28, 2024
1a548f0
chore: build js
imorland Mar 28, 2024
14de880
feat: poll image create/delete events
imorland Mar 28, 2024
e1fc306
Apply fixes from StyleCI
StyleCIBot Mar 28, 2024
2a491ea
$option->image_url
imorland Mar 28, 2024
8785ff7
fix: delete poll ( & option) images
novacuum Mar 28, 2024
906dd34
feat: add PollPageHero
novacuum Apr 3, 2024
2ecda05
chor: add string for poll_page.title and allow backwards date change …
novacuum Apr 4, 2024
91939bb
fix!: change semantic markup
DavideIadeluca Apr 5, 2024
8d09efd
chore: build js
DavideIadeluca Apr 5, 2024
2dffefd
fix: update the selected/checked status correctly
novacuum Apr 9, 2024
b5a70e8
chore: make extending or overriding the answer label possible in the …
imorland Apr 9, 2024
20b8a2c
chore: use h3 for option title
imorland Apr 9, 2024
45be35b
chore: build js
imorland Apr 9, 2024
129e4e3
style: run formatter
DavideIadeluca Apr 9, 2024
d9ec452
fix: add add translation for modal errors
DavideIadeluca Apr 9, 2024
e58e045
fix: change condition when generic error message is shown
DavideIadeluca Apr 9, 2024
91e0684
chore: build js
DavideIadeluca Apr 9, 2024
14169b1
chore: re-use core generic message
imorland Apr 9, 2024
a62d098
chore: use more core translations
imorland Apr 9, 2024
104cb34
fix: delete uploaded image when poll is not saved
imorland Apr 9, 2024
44bc76e
Apply fixes from StyleCI
StyleCIBot Apr 9, 2024
6824eef
Improve PollOption Markup (#93)
DavideIadeluca Apr 11, 2024
3db638e
fix: image was missing in poll serializer
novacuum Apr 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions resources/locale/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ fof-polls:
subtitle_placeholder: Subtitle/Description (Optional)
submit: Submit
delete: Delete
error: Oops! Something went wrong. Please reload the page and try again.
imorland marked this conversation as resolved.
Show resolved Hide resolved
poll_image:
label: Poll Image
help: Upload an image to be displayed alongside the poll (optional).
Expand Down