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

Improve Profile-Handling #38

Open
Netroxen opened this issue Jan 31, 2019 · 0 comments
Open

Improve Profile-Handling #38

Netroxen opened this issue Jan 31, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@Netroxen
Copy link
Collaborator

Netroxen commented Jan 31, 2019

As a user,
I want to see my custom profile in the sidebar,
if the administrator is not using the default MemberData.

Acceptance Criteria

  • It's done when the sidebar uses the custom member folder and member type to show user information
  • It's done when the default user type is used as a fallback
  • It's done when there's a method which registers a field as the avatar image
  • It's done when there's a registry record to store the avatar image field value
  • It's done when a log message is displayed if multiple fields are registered as avatar images.

Additional Information

  • This should be implemented for the profile section in the sidebar template.
  • The username can still be pulled from the currently logged-in user. i.e. the MemberData object

Technical Information

We should implement this similarly to how the dexterityindexer registers a searchable field...

dexteritytextindexer.searchable('eventtype')

eventtype = schema.Choice(
    title=_(u'event_contenttype_eventtype_title',
            default=u'Event Type'),
    description=_(u'event_contenttype_eventtype_description',
                  default=u'Please enter the type of the event.'),
    vocabulary=EVENTTYPES,
    default='',
    required=True,
)

Instead we should implement something like sidebar.avatar('my_custom_image').

@Netroxen Netroxen added this to the 1.0.0a4 milestone Jan 31, 2019
@Netroxen Netroxen added the enhancement New feature or request label Jan 31, 2019
@sarn0ld sarn0ld modified the milestones: 1.0.0a4, 1.0.0a5 Feb 4, 2019
@Netroxen Netroxen modified the milestones: 1.0.0a5, 1.0.0a6, 1.0.0a7 Feb 4, 2019
@sarn0ld sarn0ld modified the milestones: 1.0.0a7, 1.0.0.a9 May 8, 2019
@santonelli santonelli removed this from the 1.0.0a9 milestone May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants