Skip to content

Add support for page-specific look - #2998

Open
goosys wants to merge 1 commit into
thoughtbot:mainfrom
goosys:add-page-specifc-look
Open

goosys wants to merge 1 commit into
thoughtbot:mainfrom
goosys:add-page-specifc-look

Conversation

@goosys

@goosys goosys commented Mar 8, 2026

Copy link
Copy Markdown
Contributor

I’ve added support for changing the look per page.

For example, like in the sample app, you can use a time_ago_in_words look only on the index page.

ATTRIBUTE_TYPES = {
  created_at: Field::DateTime.with_options(look: {index: :relative})
}
index show
relative look default look
image image

What do you think?

@goosys
goosys marked this pull request as ready for review March 8, 2026 09:50
@goosys goosys changed the title Add support for page-specific look configuration Add support for page-specific look Mar 8, 2026
@goosys
goosys force-pushed the add-page-specifc-look branch from 0bfdc0a to 444da7c Compare September 11, 2026 13:36
@goosys
goosys force-pushed the add-page-specifc-look branch from 444da7c to 6d3d578 Compare September 11, 2026 13:47
@goosys

goosys commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

@pablobm @nickcharlton
Rebased. Please take a look when you have a chance.

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.

1 participant