diaspora / diaspora-project-site

Code for the Diaspora project site.
https://diasporafoundation.org/
Other
48 stars 41 forks source link

Update tutorials for changes in v0.7. #107

Closed goobertron closed 7 years ago

goobertron commented 7 years ago

I've made a first pass through the tutorials to update them in line with the changes in 0.7.

These include:

and a couple of things from 0.6.x which hadn't been added yet:

If any of @SuperTux88 @Flaburgan @svbergerem @denschub could check through and see whether there are any changes I've missed and whether I've introduced any errors, that would be great! It would be good to get this merged as soon as possible so that our translators can get working on the new/altered strings.

I wanted to update the section on account export, but I've been unable to test this using any of the pods I'm signed up to. Can anyone tell me what, if anything, are the UX changes to this?

goobertron commented 7 years ago

Hi @Flaburgan @SuperTux88 @denschub it would be really good to have a review so this can (hopefully) get pushed soon and get the project site up to date with 0.7.

I know you've all been super-busy around the release, so I hesitate to push you, but if you can spare the time to do it soon I'd really appreciate it.

goobertron commented 7 years ago

I just found a non-used link so have pushed that change. Will make any corrections needed (and squash commits) after review.

goobertron commented 7 years ago

That's really good of you; thanks for your help, and patience in explaining.

SuperTux88 commented 7 years ago

Merged and pushed to production :) Thanks for your work @goobertron 🍪

I just checked WTI, and I didn't find a way to search/replace in translations. Maybe it's possible to do the search/replace locally and then upload all translations to WTI? @denschub any ideas? Is this possible?

denschub commented 7 years ago

Hm, nah, I was looking into that as well quickly and didn't find a way. :(

goobertron commented 7 years ago

One possible way could be:

– Pull all translations and 'freeze' WTI temporarily. – Do global replaces on the locale files locally and push back to WTI.

It might not be ideal, but do you think that would be safe enough, @denschub?

denschub commented 7 years ago

Hm, yeah, wti push --all should push all files, including locales. However, we do a bit of postprocessing to the files after we pull, so I am not sure if there are any side effects there. A clean pull and push without postprocessing would probably be the best idea...

SuperTux88 commented 7 years ago

I did a clean pull without post-processing yesterday, I use the post-processing only for diaspora, not for the project site.

goobertron commented 7 years ago

Thanks @SuperTux88. I've just pulled the latest locale files and done a global search and replace, in two commits: one for the page views and en.yml, the second for the other locale files.

https://github.com/diaspora/diaspora-project-site/compare/master...goobertron:fix_part_links

Unfortunately I'm unable to test locally until I can get my instance fixed (need a clean install, I think; I'll ask for help with that separately). So either you could check these quickly yourself or wait until I can repair my instance – hopefully on Friday.

SuperTux88 commented 7 years ago

Thanks @goobertron 🍪 ❤️ 👍

I pulled the already updated translations from WTI again, merged your branch and pushed everything to WTI again.

When you need help with your test instance, just let us know how we can help you (but IRC is probably a better place to fix that).

goobertron commented 7 years ago

Thanks @SuperTux88. I think I'll use Discourse support section for the instance fix, as it'll probably involve long periods of me going away and trying to get things to work.