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

[AMENDMENT] Ability to edit unclear/not working #247

Open
3 tasks done
Compr0mzd opened this issue Mar 14, 2024 · 5 comments
Open
3 tasks done

[AMENDMENT] Ability to edit unclear/not working #247

Compr0mzd opened this issue Mar 14, 2024 · 5 comments
Assignees

Comments

@Compr0mzd
Copy link
Contributor

Compr0mzd commented Mar 14, 2024

Location

personal-security-checklist.yml

Amendments

Hey I tried to edit the personal-security-checklist.yml to remove some categories however when I tried to start :
yarn dev no modification is made even when trying to rename a category
When building the static version it's not working as well to get a modified results.
Do you have any idea why it isn't modifying ?
I tried to go from scratch and do It on a clean project folder but still got a same issue
Thanks in advance for the help

Would you like to submit a PR?

None

Please tick the boxes

  • To the best of my knowledge, the information I've provided is correct
  • I have checked that a similar ticket has not previously been opened
  • I agree to the repositories Code of Conduct
@hugosxm
Copy link

hugosxm commented Apr 2, 2024

Same here

@theomercierisen
Copy link

Hello, I have the same issue, it is not possible to modify the content of the security checlist with the .yml , could you please give us a hint of how to do it ? thank you

@Compr0mzd
Copy link
Contributor Author

up

@Lissy93
Copy link
Owner

Lissy93 commented Apr 20, 2024

I think it's this part that you need to update, to fetch a checklist from an alternate source:

export const useChecklists = routeLoader$(async () => {
const remoteUrl = 'https://raw.githubusercontent.com/Lissy93/personal-security-checklist/HEAD/personal-security-checklist.yml';
return fetch(remoteUrl)
.then((res) => res.text())
.then((res) => jsyaml.load(res) as Sections)
.catch(() => []);
});

@Suri777
Copy link

Suri777 commented May 14, 2024

Location
personal-security-checklist.yml
layout.tsx

Amendments
Hi @Lissy93 , I edited the personal-security-checklist.yml file, but I can't apply the changes.

I modified the personal-security-checklist/web/src/routes/layout.tsx with the local address where my modified file is located (changing line 11 in layout.tsx file). However when the site loads, the information that should be in the yml file does not appear (the rest of the site loads correctly).

Could you give us an example of how I have to write the local URL for it to work correctly?

Thanks in advance!

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

No branches or pull requests

5 participants