Fix reply form quote config access #3496
No reviewers
Labels
No labels
BE Request
Backlog
Better behavior
Blocked by deps
Bug
Code Review
Discussion
Doing
Feature Request / Enhancement
In the shining bright future maybe
It's complicated
MS Edge
Mememoon (or other niche browsers)
Missing API
Missing feature
Missing l10n/i18n
NL1
NL2
NL4
Need to verify on develop
RELEASE BLOCKER
Reassign or Close
Refactor
Regression
Safari
To Do
User story
Waiting on godot
accessibility
better documentation
chore
confirmed
easy ticket
incident
l10n update
mastoapi
mobile
needs design
needs-info
needs-review
stupid
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pleroma/pleroma-fe!3496
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/reply-form-quote-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
PostStatusForm.defaultQuotablereading the removed VuexmergedConfiggetter.quoteReplyunset.StatusActionButtonsonSuccess/onErroremits to remove Vue 3 emitted-event warnings.Regression Details
7aefda4211(Add quoting by url / in replies) whilethis.$store.getters.mergedConfigstill existed.9f3c0ec60b(Merge pull request 'Synchronized Settings' (#3473) from setttingssync into develop), which removed the Vuex config module and moved merged config reads touseMergedConfigStore(), but missed this newquoteReplyaccess.defaultQuotable, threw before the reply form finished mounting, and could cascade intorequestCloseon an undefined form ref.Testing
yarn exec biome check src/components/post_status_form/post_status_form.js src/components/status_action_buttons/status_action_buttons.js test/unit/specs/components/post_status_form.spec.jsyarn run unit -- test/unit/specs/components/post_status_form.spec.jsyarn run unitPostStatusFormfix is temporarily removed:this.$store.getters.mergedConfig is undefined.