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) personal news with possibility of creating a single page that … #34

Open
wants to merge 67 commits into
base: mijn-zaken/frontend
Choose a base branch
from

Conversation

Jikizuari
Copy link
Collaborator

…gets content filled through OpenPub API

Notes

  • For the news detail page you'd have to create an empty singular page. The content gets filled in based on the HW website selectors with the assumption that the classnames/selectors are identical on other websites. (quite a scary one but I'll take the risk)
  • The API URL and stuff are stored in LocalStorage because the API URL is entered in the Gutenberg block. I'd prefer to see this as a theme option but the requirement was that the URL was entered in the Gutenberg block.

Questions

  • Postcode is currently hard coded. @YvetteNikolov or @mvdhoek1 , is there currently a way to get the current user's postcode (my guess would be BRP? If yes, what's -the- way before I dive into it or potentially build something that already exists)

YvetteNikolov and others added 30 commits November 27, 2023 14:15
Copy link
Contributor

@mvdhoek1 mvdhoek1 left a comment

Choose a reason for hiding this comment

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

Hoi Gijs,

JS en SCSS is niet mijn area of expertise maar voor zover ik kan zeggen ziet het er goed uit. Betreft je vraag over het ophalen van de postcode. Mijn college Simon is bezig met een Gutenberg blok voor het ophalen van gegevens uit de BRP. Misschien heb je daar wat aan. Laten we dit checken tijdens het aankomende fieldlab.

@mvdhoek1 mvdhoek1 force-pushed the mijn-zaken/frontend branch 3 times, most recently from 5c9e055 to 412bd7e Compare January 8, 2024 15:14
package.json Outdated Show resolved Hide resolved
Copy link
Contributor

@YvetteNikolov YvetteNikolov left a comment

Choose a reason for hiding this comment

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

Ziet er goed uit :)

Ook bij deze graag de controls naar de InspectorControl sidebar. Voor de content kun je een <Placeholder/> component o.i.d. gebruiken waarin wordt uitgelegd dat het persoonlijk nieuws aan de voorkant gerendered wordt.

Copy link
Contributor

@YvetteNikolov YvetteNikolov left a comment

Choose a reason for hiding this comment

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

Laat het vooral weten als je een update hebt gedaan. Dan kijk ik er nog een keer naar en approve 'm.

@Jikizuari
Copy link
Collaborator Author

@YvetteNikolov PR feedback is verwerkt :-)

@mvdhoek1 mvdhoek1 force-pushed the mijn-zaken/frontend branch 4 times, most recently from 82f6f58 to 3c9841c Compare January 30, 2024 09:16
'(\\?[;&a-z\\d%_.~+=-]*)?' + // validate query string
'(\\#[-a-z\\d_]*)?$', 'i' ); // validate fragment locator
return !!urlPattern.test( urlString );
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Deze wat mag mij betreft in assets/js/editor/util/helpers.js. Dan is hij vaker inzetbaar en testbaar.

Copy link
Contributor

@YvetteNikolov YvetteNikolov left a comment

Choose a reason for hiding this comment

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

Het mag gemerged woden. Wordt in de toekomst een refractor naar een SSR block, maar fijn om dit alvast in het project te hebben.

@mvdhoek1 mvdhoek1 force-pushed the mijn-zaken/frontend branch 2 times, most recently from fdc044c to a726a42 Compare February 8, 2024 07:23
@mvdhoek1 mvdhoek1 force-pushed the mijn-zaken/frontend branch from 09105dc to 6b5b9ef Compare February 26, 2024 10:20
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.

6 participants