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

feat: added pwa features #92

Closed
wants to merge 4 commits into from

Conversation

akshaydhayal
Copy link

Resolves #90

This is related to issue #90 . The issues are able to load in local development without the internet.

package-lock.json Outdated Show resolved Hide resolved
src/home/fetch-github/fetch-issues-full.ts Outdated Show resolved Hide resolved
static/index.html Outdated Show resolved Hide resolved
src/home/fetch-github/fetch-issues-full.ts Outdated Show resolved Hide resolved
src/progressive-web-app.ts Outdated Show resolved Hide resolved
@0x4007
Copy link
Member

0x4007 commented Sep 25, 2024

@rndquu @gentlementlegen can you guys look into continuous deployments? Really inconvenient to QA without it

@rndquu
Copy link
Member

rndquu commented Sep 25, 2024

@rndquu @gentlementlegen can you guys look into continuous deployments? Really inconvenient to QA without it

I'll check it now

@0x4007
Copy link
Member

0x4007 commented Sep 25, 2024

@rndquu @gentlementlegen can you guys look into continuous deployments? Really inconvenient to QA without it

I'll check it now

@rndquu if you were able to identify the problem, and didn't have time to implement a solution - perhaps you can file an issue and one of us can jump on it

@ubiquity-os-deployer
Copy link

ubiquity-os-deployer bot commented Sep 25, 2024

src/home/home.ts Outdated Show resolved Hide resolved
src/home/home.ts Outdated Show resolved Hide resolved
src/home/home.ts Outdated Show resolved Hide resolved
Copy link
Member

@0x4007 0x4007 left a comment

Choose a reason for hiding this comment

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

Were you able to test while logged in and authenticated?

@0x4007
Copy link
Member

0x4007 commented Sep 25, 2024

image

I got it to load six issues fully but it does not work offline as per the spec

image

It seems like you're certainly on the right track though.

Copy link
Member

Choose a reason for hiding this comment

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

Need to run formatting

Copy link
Author

@akshaydhayal akshaydhayal Sep 25, 2024

Choose a reason for hiding this comment

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

What do you mean by formatting exactly? If you are referring to the yarn format cmd, I did do that and it was the same code which I committed .

Copy link
Member

@0x4007 0x4007 Sep 25, 2024

Choose a reason for hiding this comment

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

Indentation is wrong in your diff. Not sure what to tell you but it looks like you're not using our prettier settings. There is a possibility this was committed without the correct formatting but highly unlikely because we use a template with the same formatter in all of our projects.

Copy link
Author

Choose a reason for hiding this comment

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

The formatter is only producing these indentations. If I manually remove these indentation and run the formatter, they are produced again.

See the formatter did checked this file: image

Copy link
Author

Choose a reason for hiding this comment

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

Indentations seems correct if you checkout the code, I added try catch blocks, maybe that's why it might be showing in code changes.

Copy link
Author

Choose a reason for hiding this comment

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

@0x4007 , what to do for this change?

Copy link
Member

Choose a reason for hiding this comment

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

I also don't see formatting issues in the fetch-issues-full.ts although the PR diff shows new indentations.

Copy link
Member

Choose a reason for hiding this comment

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

Perhaps spaces were changed to tabs.

Copy link
Member

@rndquu rndquu left a comment

Choose a reason for hiding this comment

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

@akshaydhayal

The PR works fine. Could you resolve the code conflicts?

One more question:
When running on localhost the UI is opened fine without an internet connection while the latest development preview page doesn't work offline. What could be the issue?

@0x4007
Copy link
Member

0x4007 commented Oct 8, 2024

I think redoing the pull would be easier because a lot of changes were made in the last two weeks.

@0x4007 0x4007 closed this Oct 21, 2024
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.

Progressive Web App
3 participants