Skip to content

Custom properties UI#369

Open
chapmanjacobd wants to merge 5 commits into
iiab:masterfrom
chapmanjacobd:media-tags
Open

Custom properties UI#369
chapmanjacobd wants to merge 5 commits into
iiab:masterfrom
chapmanjacobd:media-tags

Conversation

@chapmanjacobd
Copy link
Copy Markdown
Member

@chapmanjacobd chapmanjacobd commented Apr 22, 2026

should be able to close #368

now you can have multiple Rating-style columns too!

needs testing! @GarbaJohnAshifa (the UI to add new fields is in the Admin console)

@holta
Copy link
Copy Markdown
Member

holta commented Apr 22, 2026

cc @tim-moody

@deldesir
Copy link
Copy Markdown
Collaborator

deldesir commented Apr 25, 2026

I see the manage property definitions.

image

I see custom properties view

image

Here is how "Test Rating" displayed after creating it and using value 5

image

When I create a comment property it overwrites the previous property added. Not sure I understand this, its usefulness.

image

However this feature does add the custom properties in sidebar where you can click on a comment. But this leads to an internal server error:
2:1 Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR)

@chapmanjacobd
Copy link
Copy Markdown
Member Author

hmm that's interesting 🤔

I'll try making a patch

@chapmanjacobd
Copy link
Copy Markdown
Member Author

custom rating properties were being saved/computed as strings, so that broke some things... you might need to create a new database or try deleting the custom column before trying again

@deldesir
Copy link
Copy Markdown
Collaborator

I'm looking for a better way to test this. Now internal server error kicks in on clicking "Edit metadata". https://lrn2.org/live/admin/book/1118

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.

Enhancement: free form attributes for content

3 participants