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

Usability improvements #36

Merged
merged 4 commits into from
Jun 2, 2023
Merged

Usability improvements #36

merged 4 commits into from
Jun 2, 2023

Conversation

unflxw
Copy link
Contributor

@unflxw unflxw commented May 31, 2023

Use fake revision if none given

When using this to test sourcemap behavior, you want to see a
different revision uploaded each time, but you don't actually care
what the revision name is, and having to set it manually to a
different value in each run is mildly inconvenient.

If no revision value is given, generate something that looks like
a Git commit SHA with a "-fake" prefix, and use that as a revision.

Add appsignal to the global object

This allows one to easily verify that it's configured correctly
and to manually trigger sending errors.

Improve README

Move automated tests dependencies (geckodriver) to the automated
tests section.

Clarify that yarn must be installed.

Clarify that the Node.js version must be Node 16, using a
.tool-versions file to set it automatically for asdf users.

Remove Angular analytics prompt

An annoying prompt about analytics blocks the test run until it
is answered. Disable it.

support/helpers.rb Outdated Show resolved Hide resolved
support/templates/appsignal.js.erb Show resolved Hide resolved
@unflxw unflxw force-pushed the usability-improvements branch from ea2e01f to 31e8271 Compare May 31, 2023 12:15
unflxw added 4 commits June 1, 2023 18:04
When using this to test sourcemap behavior, you want to see a
different revision uploaded each time, but you don't actually care
what the revision name _is_, and having to set it manually to a
different value in each run is mildly inconvenient.

If no revision value is given, generate something that looks like
a Git commit SHA with a "-fake" prefix, and use that as a revision.
This allows one to easily verify that it's configured correctly
and to manually trigger sending errors.
Move automated tests dependencies (geckodriver) to the automated
tests section.

Clarify that `yarn` must be installed.

Clarify that the Node.js version must be Node 16, using a
`.tool-versions` file to set it automatically for `asdf` users.
An annoying prompt about analytics blocks the test run until it
is answered. Disable it.
@unflxw unflxw force-pushed the usability-improvements branch from 31e8271 to bdab33f Compare June 1, 2023 16:05
@unflxw unflxw merged commit 711949a into main Jun 2, 2023
@unflxw unflxw deleted the usability-improvements branch June 2, 2023 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants