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

Added locked state on list cell renderer #220

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

OwenCoogan
Copy link
Contributor

What does this PR do?

Related to : #

What are the observable changes?

Capture d’écran 2024-12-30 aΜ€ 17 44 51
Capture d’écran 2024-12-30 aΜ€ 17 43 58
Capture d’écran 2024-12-30 aΜ€ 17 14 30
Capture d’écran 2024-12-30 aΜ€ 17 14 20
Capture d’écran 2024-12-30 aΜ€ 17 13 45

πŸ§‘β€πŸ’» Developer Heads Up

⚑ Since we are using Ember Octane now:

  • Feel free to migrate existing components to Glimmer Components.
  • Write new ones exclusively in it.

Useful Resource : Ember Octane vs Classic Cheat Sheet

Good PR checklist

  • Title makes sense
  • Is against the correct branch
  • Only addresses one issue
  • Properly assigned
  • Added/updated tests
  • Added/updated documentation
  • Migrated touched components to Glimmer Components
  • Properly labeled

Additional Notes

@OwenCoogan OwenCoogan self-assigned this Dec 30, 2024
@OwenCoogan OwenCoogan requested review from phndiaye and a team as code owners December 30, 2024 16:50
@OwenCoogan OwenCoogan requested review from Xegushu and JulienVannier66 and removed request for a team December 30, 2024 16:50
Copy link

linear bot commented Dec 30, 2024

@@ -8,6 +8,7 @@ export default Component.extend(CellRendererMixin, {
}),

isEditing: false,
locked: this?.column?.locked ?? false,
Copy link
Member

Choose a reason for hiding this comment

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

can you make this a computed instead ?

Comment on lines +89 to +95
cell_renderers:
no_permission:
mailings: You don't have permission to access this mailing
lists: You don't have permission to access this list
campaigns: You don't have permission to access this campaign
tracking_plans: You don't have permission to access this tracking plan
acquisition_campaigns: You don't have permission to access this live capture campaign
Copy link
Member

Choose a reason for hiding this comment

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

not super fan of having this in this project tbh. it's highly bound to upfluence context which this project isn't. we can discuss it live if you want

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants