Clipboard blocked prevention, small fixes, Update CI, Update Deps, expired keys handling#8
Open
Knight1 wants to merge 46 commits intoMrMarble:mainfrom
Open
Clipboard blocked prevention, small fixes, Update CI, Update Deps, expired keys handling#8Knight1 wants to merge 46 commits intoMrMarble:mainfrom
Knight1 wants to merge 46 commits intoMrMarble:mainfrom
Conversation
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v4...v6) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace) from 6.0.2 to 6.0.3. - [Changelog](https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md) - [Commits](https://github.com/rollup/plugins/commits/babel-v6.0.3/packages/replace) --- updated-dependencies: - dependency-name: "@rollup/plugin-replace" dependency-version: 6.0.3 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins/tree/HEAD/packages/babel) from 6.0.4 to 6.1.0. - [Changelog](https://github.com/rollup/plugins/blob/master/packages/babel/CHANGELOG.md) - [Commits](https://github.com/rollup/plugins/commits/url-v6.1.0/packages/babel) --- updated-dependencies: - dependency-name: "@rollup/plugin-babel" dependency-version: 6.1.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [prettier](https://github.com/prettier/prettier) from 3.5.3 to 3.8.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.5.3...3.8.1) --- updated-dependencies: - dependency-name: prettier dependency-version: 3.8.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [rollup-plugin-userscript](https://github.com/violentmonkey/rollup-plugin-userscript) from 0.3.7 to 1.1.0. - [Commits](violentmonkey/rollup-plugin-userscript@v0.3.7...v1.1.0) --- updated-dependencies: - dependency-name: rollup-plugin-userscript dependency-version: 1.1.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…setup-node-6 build(deps): bump actions/setup-node from 4 to 6
…gin-replace-6.0.3 build(deps-dev): bump @rollup/plugin-replace from 6.0.2 to 6.0.3
…gin-babel-6.1.0 build(deps-dev): bump @rollup/plugin-babel from 6.0.4 to 6.1.0
….8.1 build(deps-dev): bump prettier from 3.5.3 to 3.8.1
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.26.0 to 9.39.2. - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/commits/v9.39.2/packages/js) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-version: 9.39.2 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…9.39.2 build(deps-dev): bump @eslint/js from 9.26.0 to 9.39.2
…gin-userscript-1.1.0 build(deps-dev): bump rollup-plugin-userscript from 0.3.7 to 1.1.0
…aim progress, shows error if clipboard is blocked and asks user to copy it again.
…ontain an object. But the redeem process is server side.
…bject object] since this is a new object with a redeem link and the user it was for.
… parsing. For example the cities_skylines_masstransit_bundle_steam bundle does this.
MrMarble
requested changes
Feb 6, 2026
Owner
MrMarble
left a comment
There was a problem hiding this comment.
Looks good! thank you so much!
I left some minor comments, the only one that should be fixed is the possible runtime error in the exportCSV function, I leave the others to your discretion
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| runs-on: ubuntu-slim |
Contributor
Author
There was a problem hiding this comment.
This uses a container instead of a full vm. I think for linting this is just fine.
Owner
Contributor
Author
There was a problem hiding this comment.
Without the dependabot.yml it does nothing.
Comment on lines
16
to
29
| @@ -24,63 +32,124 @@ export function Actions({ dt }: { dt: Accessor<Api<Product>> }) { | |||
| ) | |||
| .map((product) => `${product.human_name}\t${product.redeemed_key_val}`) | |||
| .join('\n') | |||
|
|
|||
| navigator.clipboard.writeText(keys) | |||
| } | |||
Owner
There was a problem hiding this comment.
let's use the implicit return of the arrow function instead:
- const exportASF = (products: Product[]) => {
- return products
+ const exportASF = (products: Product[]) => products
.filter(
(product) =>
!product.is_gift &&
product.redeemed_key_val &&
!product.is_expired &&
product.key_type === 'steam'
)
.map((product) => `${product.human_name}\t${product.redeemed_key_val}`)
.join('\n')
- }
src/components/Actions.tsx
Outdated
Comment on lines
+37
to
+38
| const exportKeys = (products: Product[]) => { | ||
| const keys = products | ||
| .filter((product) => !product.is_gift && product.redeemed_key_val) | ||
| return products |
Co-authored-by: Alvaro Tinoco <alvarotinocomarmol@gmail.com>
Contributor
Author
|
Please test it :) |
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.39.2 to 9.39.3. - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](https://github.com/eslint/eslint/commits/v9.39.3/packages/js) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-version: 9.39.3 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.54.0 to 8.56.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.56.1/packages/typescript-eslint) --- updated-dependencies: - dependency-name: typescript-eslint dependency-version: 8.56.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [rollup](https://github.com/rollup/rollup) from 4.57.1 to 4.59.0. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](rollup/rollup@v4.57.1...v4.59.0) --- updated-dependencies: - dependency-name: rollup dependency-version: 4.59.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…t-eslint-8.56.1
Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins/tree/HEAD/packages/babel) from 6.1.0 to 7.0.0. - [Changelog](https://github.com/rollup/plugins/blob/master/packages/babel/CHANGELOG.md) - [Commits](https://github.com/rollup/plugins/commits/url-v7.0.0/packages/babel) --- updated-dependencies: - dependency-name: "@rollup/plugin-babel" dependency-version: 7.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.2.7 to 16.3.2. - [Release notes](https://github.com/lint-staged/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md) - [Commits](lint-staged/lint-staged@v16.2.7...v16.3.2) --- updated-dependencies: - dependency-name: lint-staged dependency-version: 16.3.2 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…ugin-babel-7.0.0
Owner
|
Hey, thank you for your work! Sorry for not reviewing it, I was moving flats, will try to review today |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Features
Changed
-> Please test it.