Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Responsive FrontEnd #33

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

marcpursals
Copy link

Hi, @knugie as talked by mail here you have my approach for a new frontEnd.

To be awared:

  1. I didn't test textAreas (we don't use arrays on our locales... honestly I forgot it)
  2. If the amount of keys or categories is really big and the browser is slow on renderization it might be interesting include an infinite scroll on it, I have several posible solutions on it. Just ping me if you need it and I'll do my best.
  3. I have a workaround to include this gem as standalone on an ubuntu distribution with nginx and be able to use it remotely with a locales git submodule. if you are interested I can document it so you can include it on your readme file.

Best regards from Barcelona.

Marc.

@wteuber
Copy link
Contributor

wteuber commented Aug 27, 2018

Thanks a lot for you PR, @marcpursals! I'll have a detailed look at this PR later this week.
Here are 2 early requests.

  1. Gem files should not be part of the code base. Could you remove i18n_yaml_editor-2.2.0.gem ?
  2. You added [email protected] to the gem's email. Are you willing to support all parts of i18n_yaml_editor or just specific ones, e.g. the bootstrap-based frontend? I'm happy adding you there, just want to understand your intentions.

@marcpursals
Copy link
Author

Hi there @wteuber, sorry for the delay.

  1. Yep, you're right. Sorry my mistake I'll remove it.
  2. In the beginning I just added there in case you want to have my contact but I can help on whatever you want, frontend and gem itself. Whatever you need just ping me.

@wteuber
Copy link
Contributor

wteuber commented Aug 29, 2018

Sounds great. For smaller projects, we don't have strict contribution guidelines. I'll double-check Sage's open source policies to allow gem owners outside the organisation.

@wteuber
Copy link
Contributor

wteuber commented Sep 3, 2018

I had a chance to look at the changes. Most of it looks really great and is fast too, great work!
Also, text fields for arrays work just like expected. But there are two things I think need fixing:

1. Broken layout for boolean values

image


2. Alignment of locales of different lengths, e.g. "fr" and "fr-CA" (I'd a such a case to the example files)

image


A couple of minor things could be improved but are not worth blocking this PR

The action button to apply filters should To apply filters, the button should The button should say "Apply"

image


Header overlays content the reducing window size without being able to scroll up

image


Spacing of blocks with different height

image

@marcpursals
Copy link
Author

marcpursals commented Sep 6, 2018 via email

@wteuber
Copy link
Contributor

wteuber commented Sep 27, 2018

Hi @marcpursals, did you have a chance addressing comments?

@marcpursals
Copy link
Author

marcpursals commented Sep 29, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants