2
1
Fork
You've already forked SimplyTranslate
0

WIP: Port web frontend #14

Closed
Ghost wants to merge 3 commits from finish-web-frontend into main
pull from: finish-web-frontend
merge into: SimpleWeb:main
SimpleWeb:main
SimpleWeb:cleanup

TODO:

  • Write the Go code
  • Port the rest of the index.html template (mainly the definitions and translations stuff)
  • Port prefs.html
  • Port configuration loading
  • Port API endpoints
TODO: - [ ] Write the Go code - [ ] Port the rest of the index.html template (mainly the definitions and translations stuff) - [ ] Port prefs.html - [ ] Port configuration loading - [ ] Port API endpoints

I did some basic work so http://localhost:8080/?text=bonjour&sl=fr&tl=de will return "hallo" in the commandline as it should. There is no index page or anything else yet. But it shouldn't be too hard to implement now. For implementation of templates, please use go:embed (I commented my use out because it was unused) but otherwise it will fail once we try to ship it as a package. (experiences from working on SimpleAmazon)

I did some basic work so http://localhost:8080/?text=bonjour&sl=fr&tl=de will return "hallo" in the commandline as it should. There is no index page or anything else yet. But it shouldn't be too hard to implement now. For implementation of templates, please use `go:embed` (I commented my use out because it was unused) but otherwise it will fail once we try to ship it as a package. (experiences from working on SimpleAmazon)
ManeraKai closed this pull request 2023年09月02日 13:23:52 +02:00
Commenting is not possible because the repository is archived.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SimpleWeb/SimplyTranslate!14
Reference in a new issue
SimpleWeb/SimplyTranslate
No description provided.
Delete branch "finish-web-frontend"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?