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

Consolidate account property getters #33206

Merged
merged 1 commit into from
Jul 26, 2022
Merged

Consolidate account property getters #33206

merged 1 commit into from
Jul 26, 2022

Conversation

Pytal
Copy link
Member

@Pytal Pytal commented Jul 12, 2022

Share logic for getting account properties to reduce repetition required for further accessibility improvements e.g. propagation of #33163 to all properties

@Pytal Pytal added 3. to review Waiting for reviews feature: settings labels Jul 12, 2022
@Pytal Pytal added this to the Nextcloud 25 milestone Jul 12, 2022
@Pytal Pytal self-assigned this Jul 12, 2022
@PVince81
Copy link
Member

why is this needed ? a short explanation would be nice

@Pytal
Copy link
Member Author

Pytal commented Jul 13, 2022

why is this needed ? a short explanation would be nice

Description updated

Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thanks

@Pytal Pytal force-pushed the enh/27869/consolidate branch 2 times, most recently from a70eb01 to ae18cdd Compare July 15, 2022 19:15
@github-actions
Copy link
Contributor

Possible performance regression detected

Show Output
1 queries added

= /remote.php/dav/files/test
≠ /remote.php/dav/files/test/test.txt with 1 queries added
  + UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)
≠ /remote.php/dav/files/test/many_files with 1 queries removed
  - UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)
= /remote.php/dav/files/test/new_file.txt
≠ /remote.php/dav/files/test/new_file.txt with 1 queries added
  + UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)

@Pytal
Copy link
Member Author

Pytal commented Jul 15, 2022

Review ping @reviewers

@github-actions
Copy link
Contributor

Possible performance regression detected

Show Output
1 queries added

= /remote.php/dav/files/test
≠ /remote.php/dav/files/test/test.txt with 1 queries added
  + UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)
≠ /remote.php/dav/files/test/many_files with 1 queries removed
  - UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)
= /remote.php/dav/files/test/new_file.txt
≠ /remote.php/dav/files/test/new_file.txt with 1 queries added
  + UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)

@Pytal
Copy link
Member Author

Pytal commented Jul 21, 2022

One more review would be appreciated to unblock upcoming accessibility improvements #27869 :)

Signed-off-by: Christopher Ng <chrng8@gmail.com>
@PVince81 PVince81 merged commit 623d533 into master Jul 26, 2022
@PVince81 PVince81 deleted the enh/27869/consolidate branch July 26, 2022 07:13
@skjnldsv skjnldsv mentioned this pull request Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants