Skip to content

WIP fill in style guide with current Ember standards#32

Draft
pixelhandler wants to merge 1 commit intomasterfrom
bill/garaje-standards
Draft

WIP fill in style guide with current Ember standards#32
pixelhandler wants to merge 1 commit intomasterfrom
bill/garaje-standards

Conversation

@pixelhandler
Copy link
Copy Markdown

PLEASE HALP :)


## Tailwind CSS

- Using important when tailwind css is overwritten or adding to scss?
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@kamal @esbanarango any thoughts on when to add to scss vs use tailwind


### Actions

- Triggering single boolean property, use `action` or `mut`?
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Side note: I find (fn (mut this.booleanishProperty) true|false) a better alternative to actions that toggle a property. Especially if its a property on a controller which lives on after you leave its route. I've seen issues where showModal is still true when you revisit the route via back button etc.


## Templates

### Actions
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Perhaps Need to document use of fn and @action for replacing old computed props


### Component Args

- constructor with setting local props, args with objects, chain in template or getter in JS?
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

need to discuss these two again

@pixelhandler
Copy link
Copy Markdown
Author

@CodeOfficer can you add comment on https://github.com/envoy/garaje/pull/9770/files to this ?

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.

2 participants