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

Poker Timer App #3645

Merged
merged 9 commits into from
Nov 7, 2024
Merged

Poker Timer App #3645

merged 9 commits into from
Nov 7, 2024

Conversation

ki9us
Copy link
Contributor

@ki9us ki9us commented Nov 6, 2024

Is it ok to add an app as a git submodule?

@thyttan
Copy link
Collaborator

thyttan commented Nov 6, 2024

Is it ok to add an app as a git submodule?

@gfwilliams probably knows best here.

@gfwilliams
Copy link
Member

No, I'm afraid not. Because then we're unable to check on any changes - you could push an update, accidentally mess up the metadata.json and break the app loader for everyone, and we couldn't do anything apart from remove your app.

Sometimes we may need to make quite broad changes (maybe some API changes or we become aware of something your app is doing that's a problem) and we want to be able to make changes to a bunch of apps at once. If we have a bunch of submodules we're going to have to submit PRs to all the app owners who may/may not merge them and the whole thing becomes onworkable.

Apps can not be submodules, for good reasons.  Reverting to re-add as a proper package.

This reverts commit 39cd1c7.
@ki9us
Copy link
Contributor Author

ki9us commented Nov 6, 2024

I expect to push an update this week to fix some bugs:

  • Unlock to vibrate/flash
  • Screenshots in README
  • Start app paused
  • Indicate when paused
  • 20-second warning

So you can just wait for that if you want.

@gfwilliams
Copy link
Member

Sounds good. Please can you change the version number style to 0.01 (not 0.0.1) - I believe parts of the app loader expect it to be a number

@ki9us
Copy link
Contributor Author

ki9us commented Nov 6, 2024

Ok. Do I need to do anything about these build errors?

Error: App pokertimer has no entrypoint
Error: App pokertimer has no JS icon

@gfwilliams
Copy link
Member

Yes - it's because of:

 {"name":"timer.app.js","url":"app.js"},
    {"name":"timer.img","url":"app-icon.js","evaluate":true}

They should be {"name":"pokertimer... since the app is called pokertimer

@ki9us
Copy link
Contributor Author

ki9us commented Nov 6, 2024

Try that. Just tested on hardware and seems ok.

@ki9us
Copy link
Contributor Author

ki9us commented Nov 6, 2024

Here's the forked App Loader:

https://ki9us.github.io/BangleApps/?q=pokertimer

@gfwilliams
Copy link
Member

Looks good to me - thanks!

@gfwilliams gfwilliams merged commit c217a4f into espruino:master Nov 7, 2024
1 check passed
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.

3 participants