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

[improvement] Improve create api key flow #2058

Merged
merged 4 commits into from
Oct 22, 2024

Conversation

mattwr18
Copy link
Contributor

Closes #2045

@mattwr18 mattwr18 force-pushed the 2045_improve_create_api_key_flow branch from 592cf97 to 4db6eec Compare October 22, 2024 10:00
Copy link
Collaborator

@roschaefer roschaefer left a comment

Choose a reason for hiding this comment

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

sure sure

layout 'minimal'

def create_api_key
channel_ids = create_api_key_params[:channels].split('[').last.split(']').last.split(',')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
channel_ids = create_api_key_params[:channels].split('[').last.split(']').last.split(',')
channel_ids = YAML::load(create_api_key_params[:channels])

@@ -529,6 +529,9 @@ de:
threema_unknown_content_message:
label: Fehler-Nachricht bei unbekannten Inhalten
help: Wenn ein Mitglied via Threema Nachrichten versendet, die von 100eyes noch nicht unterstützt werden, erhält es diese Nachricht.
whats_app_setup:
success_heading: WhatsApp wurde erfolgreich konfiguriert
success_text: Du kannst nun mit der Einbindung von WhatsApp-Mitgliedern beginnen.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
success_text: Du kannst nun mit der Einbindung von WhatsApp-Mitgliedern beginnen.
success_text: Du kannst jetzt Mitglieder über WhatsApp einladen.

subject.call
expect(response).to be_successful
expect(page).to have_content('WhatsApp wurde erfolgreich konfiguriert')
expect(page).to have_content('Du kannst nun mit der Einbindung von WhatsApp-Mitgliedern beginnen.')
Copy link
Collaborator

Choose a reason for hiding this comment

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

☝️

@mattwr18 mattwr18 merged commit 98a96ed into main Oct 22, 2024
1 check passed
@mattwr18 mattwr18 deleted the 2045_improve_create_api_key_flow branch October 22, 2024 12:05
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.

[improvement] Improve create api key flow
2 participants