Skip to content

Feedback form: Add hidden fields#869

Open
manuq wants to merge 1 commit into
masterfrom
868-hidden-form-fields
Open

Feedback form: Add hidden fields#869
manuq wants to merge 1 commit into
masterfrom
868-hidden-form-fields

Conversation

@manuq
Copy link
Copy Markdown
Collaborator

@manuq manuq commented Oct 4, 2023

Helps #868

@manuq manuq requested review from dylanmccall and jprvita October 4, 2023 19:39
@manuq manuq force-pushed the 868-hidden-form-fields branch from ebec6cc to 4d192b1 Compare October 5, 2023 11:37
@manuq manuq marked this pull request as ready for review October 5, 2023 13:32
@manuq
Copy link
Copy Markdown
Collaborator Author

manuq commented Oct 5, 2023

Ready for review. It will still say "Unknown" for platform but the rest is working and it's better than nothing.

Add current language, current project and Kolibri and Endless Key
versions as hidden fields. In the format accepted by Typeform.

Helps #868
Copy link
Copy Markdown
Member

@dbnicholson dbnicholson left a comment

Choose a reason for hiding this comment

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

Makes sense to me, although I don't really understand how the key version is gathered.

}
},
getBuildInfo() {
const buildInfo = urls.static(`build-info.json`);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Where does this come from?

feedbackUrl() {
const hiddenFormFields = new URLSearchParams({
language: currentLanguage,
kolibriVersion: window.kolibriCoreAppGlobal.version,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should the explore version also be included here?

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