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

mail filters #10135

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

mail filters #10135

wants to merge 7 commits into from

Conversation

kesselb
Copy link
Contributor

@kesselb kesselb commented Sep 12, 2024

Todo Hamza:

  • Use NcSelect with multiple objects for test value selection (wrapped, unlimited width)
  • Actions: Add label "Delete action"
  • Divider/Whitespace to group tests and actions
  • Delete filter => weird state
  • Save filter => success toast
  • Form validation => Make it a real form
  • Error state
  • MailFilterOperator: Don't modify prop
  • Remove operator true
  • Enable filter by default
  • Change modal title "Name inside modal " to "Update mail filter"
  • Check modal size
  • Input spacing/width

Todo Daniel:

  • Add tests
  • Tests with ooo script
  • Filter definitions
  • To much newlines for the generate script
  • Support for quotes in values
  • Translation for operators
  • Help text

@ChristophWurst ChristophWurst marked this pull request as draft September 12, 2024 09:32
@kesselb kesselb changed the title Mail filters mail filters Sep 12, 2024
@hamza221 hamza221 mentioned this pull request Sep 12, 2024
this.loading = false
}

await this.$store.dispatch('fetchActiveSieveScript', { accountId: this.account.id })
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we update the store manually instead of querying backend on each update ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good, do I need to return the new script as result for the update operation?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'll take care of it in the other PR

Co-authored-by: Hamza Mahjoubi <[email protected]>
Signed-off-by: Daniel Kesselberg <[email protected]>
kesselb and others added 4 commits September 18, 2024 18:21
Signed-off-by: Daniel Kesselberg <[email protected]>
Signed-off-by: Daniel Kesselberg <[email protected]>
Signed-off-by: Daniel Kesselberg <[email protected]>
Signed-off-by: Hamza Mahjoubi <[email protected]>
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