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

Add madmin initial implementation #295

Merged
merged 2 commits into from
May 10, 2023
Merged

Add madmin initial implementation #295

merged 2 commits into from
May 10, 2023

Conversation

etagwerker
Copy link
Member

Jira Ticket

https://ombulabs.atlassian.net/browse/DT-443

Motivation / Context

This will give us an easier way to normalize and interconnect our records in the points database.

QA / Testing Instructions

As a user, I should NOT be able to access the /madmin interface.

As an admin, I should be able to access the /madmin interface.

Screenshots:

Screen Shot 2023-05-08 at 8 17 22 PM

Screen Shot 2023-05-08 at 8 17 07 PM

Screen Shot 2023-05-08 at 8 17 01 PM

Screen Shot 2023-05-08 at 8 16 54 PM


I will abide by the code of conduct.

@etagwerker etagwerker requested review from toppa and fbuys and removed request for fbuys May 9, 2023 00:18
Copy link

@toppa toppa left a comment

Choose a reason for hiding this comment

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

Looks good! I have a couple non-blocking comments

attribute :description
attribute :real_score
attribute :extra_info

Copy link

Choose a reason for hiding this comment

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

Is leaving out position intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes! I don't think it makes a difference for the purpose of this admin panel.

attribute :id, form: false
attribute :email
attribute :sign_in_count, form: false
attribute :current_sign_in_at
Copy link

Choose a reason for hiding this comment

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

I see in the routes that it looks like we only have a show action for individual resources, which makes sense at this stage. Is the idea to include these various sign_in and sign_at fields since they are show only? Just curious.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think they add noise, so I'll remove them.

@etagwerker etagwerker merged commit ec9fa07 into main May 10, 2023
@etagwerker etagwerker deleted the DT-443-admin-interface branch May 10, 2023 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants