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

Profile page #28751

Merged
merged 4 commits into from
Oct 19, 2021
Merged

Profile page #28751

merged 4 commits into from
Oct 19, 2021

Conversation

Pytal
Copy link
Member

@Pytal Pytal commented Sep 7, 2021

Tasks

  • Profile info and actions
    • Represent the info that is already set (DisplayName, Address, Avatar)
    • Required Profile actions
      • Account property actions (Email, Phone number, Website, Twitter)
      • Apps can register actions
      • Additional email actions
        • Order and scope of additional emails are not preserved, the logic for handling this is a prerequisite as visibility must also be preserved
    • Profile manager
      • Provide actions
      • Provide profile info
    • Privacy
      • Profile visibility
      • Respect already set scope settings
    • Display user status
  • Add new fields
    • Enable Profile checkbox (enabled by default)
      • Show error page when navigating to a disabled profile page
      • Don't show profile entrypoints when disabled
    • Organisation
    • Role
    • Biography
    • Headline
  • Profile entrypoints
    • Add entrypoint to your own profile in top-right user menu
    • Add profile preview card to personal info settings page
    • Add profile entrypoint to contacts menu as action and displayname link
    • Add profile entrypoint to Avatar menu through contacts menu actions provider (propagates to everything which uses ContactsMenuController)
  • Theming and dark mode work
  • Add necessary overrides (e.g. custom components, CSS overrides) for required functionality and UX
  • Make fields changes reactive (i.e. displayname, organisation, and profile enabled state changes are reflected instantly without needing a page reload)
  • Make it all look nice and work nicely together
  • Fix CI errors
  • Cleanup

Visual Reference

Profile page

image

Settings page

settings

Contributes to #28139

@Pytal Pytal added the 2. developing Work in progress label Sep 7, 2021
@Pytal Pytal added this to the Nextcloud 23 milestone Sep 7, 2021
@Pytal Pytal self-assigned this Sep 7, 2021
@Pytal Pytal marked this pull request as draft September 7, 2021 14:11
@Pytal Pytal force-pushed the feat/28139/profile-page branch 2 times, most recently from 70633d6 to 9f313bb Compare September 7, 2021 15:03
@Pytal Pytal mentioned this pull request Sep 7, 2021
20 tasks
@Pytal Pytal force-pushed the feat/28139/profile-page branch 3 times, most recently from a7799d5 to db62eb4 Compare September 10, 2021 00:41
@Pytal Pytal added enhancement feature: settings feature: users and groups design Design, UI, UX, etc. feature: vue apps feature: profile PRs or issues related to the Profile feature (e.g. Profile page, API, etc.) labels Sep 10, 2021
@Pytal Pytal force-pushed the feat/28139/profile-page branch 8 times, most recently from e3f286d to ae3fe4d Compare September 17, 2021 21:32
@Pytal Pytal force-pushed the feat/28139/profile-page branch 5 times, most recently from a47399e to 3aaadbf Compare September 25, 2021 02:07
if (empty($this->value)) {
return null;
}
return 'mailto:' . $this->value;
Copy link
Member

Choose a reason for hiding this comment

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

As per @tobiasKaminsky this will make sure the profiles API needs a rewrite when we want to bring all the actions to the clients. We should return the bare values and the rendering should make it a link or something like that?

@Pytal Pytal force-pushed the feat/28139/profile-page branch 3 times, most recently from 1310e35 to f85cf8f Compare October 18, 2021 20:49
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

Reviewed public API part and give it a smoke test

👍 :shipit:

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Oct 18, 2021
@Pytal Pytal force-pushed the feat/28139/profile-page branch 7 times, most recently from ab04da4 to e707e3c Compare October 19, 2021 03:37
- New properties
  - Organisation
  - Role
  - Headline
  - Biography
  - Profile Enabled property
- Fix errors with building default account properties
- Fix L10N factory method `getLanguage` not public error
- Update tests

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@Pytal Pytal merged commit f7b3d52 into master Oct 19, 2021
@Pytal Pytal deleted the feat/28139/profile-page branch October 19, 2021 06:04
@ChristophWurst ChristophWurst added the pending documentation This pull request needs an associated documentation update label Oct 25, 2021
@Pytal Pytal removed the pending documentation This pull request needs an associated documentation update label Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish design Design, UI, UX, etc. enhancement feature: profile PRs or issues related to the Profile feature (e.g. Profile page, API, etc.) feature: settings feature: users and groups feature: vue apps
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants