Giter VIP home page Giter VIP logo

asknot-ng's People

Contributors

amayer5125 avatar andibing avatar atalanttore avatar bittin avatar copperii avatar ct-martin avatar cverna avatar cydrobolt avatar ehespinosa avatar goeranu avatar hhlp avatar jibec avatar juhp avatar mattdm avatar michel-slm avatar mymindstorm avatar nbebout avatar polyzen avatar pypingou avatar ralphbean avatar relrod avatar rffontenelle avatar sadin avatar sagarhani avatar sils avatar simmon-nplob avatar stickster avatar weblate avatar yurchor avatar zlopez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

asknot-ng's Issues

Add compile script

Would be nice to be able to compile a question theme combination with just one command including translations. I see no need for copying five dumb commands again and again when a single python script with a few params could do the job.

German version of the site is broken

https://whatcanidoforfedora.org/de/

Error: Syntax error, unrecognized expression: #das-webseiten-team. jquery-2.1.3.min.js:2:12467
    jQuery 7
    hashSelect https://whatcanidoforfedora.org/de/static/js/site.js:10
    each jQuery
    hashSelect https://whatcanidoforfedora.org/de/static/js/site.js:9
    <anonymous> https://whatcanidoforfedora.org/de/static/js/site.js:34
    jQuery 4

Image Licensing

Uhm, I introduced the fedora background image, not sure how that one's licensed, maybe it needs to be mentioned? I hate licensing.

locale directory is not fedora agnostic

this repo seems to be generic and usable for other orgs, so for a new org a new theme and set of questions can be easily created. It would make sense if there would be a subfolder for translations for each org too.

[l10n] please automatically push content from Fedora.Zanata

Hi, can you please update regularly content from Zanata like other Fedora Websites ?
As this website strings are very context related, it's easier for us to see progress and check the correctness of translation.

In the meanwhile, if this task isn't trivial, can you manually push all po file from every languages ? I wrote an email to "trans" ml, and we have now 2500 new words translated.

Thanks a lot for your help !

Migrate CI to Zuul

asknot-ng is currently using travis-ci.org as CI, which is no longer supported. It would be better to migrate to Zuul, which has it's own fedora instance.

Here is the wiki page with guide, how to do it.

What websites are we translating, and what is the deployement frequency?

If I understand correctly, in the https://github.com/fedora-infra/asknot-ng/tree/develop/questions folder:

Translating gnome.yml and coala.yml is worth translating only if published, so I suggest to remove it from pot file.

Second question, what is the delay after merging new translations? This was merged two days ago: #114 but I can't see the changes in the website. Do you have to manually trigger a deployment?

Missing glyphs in Fedora theme for Hungarian

Right now the Fedora theme uses the "Open Sans" font, which is good, but it is missing the "ő" and "ű" glyphs, which leads to a not-so-nice result. What could we do to remedy the situation?

The page looks like this right now:
Screenshot about

The "ő" really looks out of place.

Make openShift configuration environment dependent

We'd like to ship the whatcanidoforgnome.org website with openshift too and the best thing to do is probably to also use this repository and mane the choice of theme and question set dependent on environment variables defined in the OPenShift environment.

I'll probably look into that this weekend, if anyone has a bit more openShift knowledge and knows how we can do this best I'd of course appreciate a comment!

(Related: #53)

Text overlap in mobile view

Some things still tend to overlap on smaller devices, or run off screen in portrait orientation.
I will play around with various viewports, scale text down accordingly, and check spacing, as I believe that's the issue.

Some examples:
Example A
Example B

whatcanidoforfedora.org don't have brazilian portuguese language option

Hi,
on getfedora.org we have a option to change the language on "America" for "português do Brasil" that redirects to ".../pt_BR/" translated version.
On whatcanidoforfedora.org we don't have "português do Brasil" option anywhere.
Also can you make an autodection of the language like getfedora.org?
Thanks and sorry to bother you.

What is the Proper Way to do a Pull Request?

  1. Anyone can Collaborate, or Are you in charge of maintain it?
  2. What is the proper way to work?
    • Create a fork
    • Changes will make in which branch or I can create one Branch ex. Issues, fix it it and pull request like I do in pagure.
  3. Are you planning to remove it as part of your CPE thing?

Problem I found, and fix it:

  • I can't make run asknot in a container
  • I can't compile in python venv because has some error

Regards.,

Why there is the underline under the Home's button.

There is an underline under the Home's button.

screenshot from 2016-05-25 13-55-02
(Because of description, I added red color drawing to the screenshot.)

I guessed that the line is displaying that currently status of this page.
But, though I clicked "Totaly" etc and the status of page changed from Home to another , the underline remains under the "Home" button.

Or if the underline is to tell that there is a button above this line,
at this case, no line under the "Get Fedora" button is contradiction.

Project needs some tweaks

The changes are the following:

1.- Change favicon with the new one->
2.- Also occurs with the new fedora logo and fedora logo inverted -> https://src.fedoraproject.org/rpms/fedora-logos.

According to this issue in fedora design team -> https://pagure.io/fedora-design/spot-the-old-logo/issue/7

3.- Remove some Directories which is not necesary at all, bring in some way from the original project:

    questions/coala.yml
    questions/gnome.yml
    static/themes/coala/                    
    static/themes/default/
    static/themes/gnome/

Regards.,

NameError on installation

Traceback (most recent call last):
  File "./asknot-ng.py", line 161, in <module>
    main(**args)
  File "./asknot-ng.py", line 128, in main
    work(_=_, lang=lang, languages=languages, **kw)
  File "./asknot-ng.py", line 44, in work
    data = load_yaml(question_filename)
  File "/home/lasse/prog/asknot-ng/asknot_lib.py", line 47, in load_yaml
    validate_yaml(data, basedir)
  File "/home/lasse/prog/asknot-ng/asknot_lib.py", line 59, in validate_yaml
    validate_tree(data['tree'], basedir)
  File "/home/lasse/prog/asknot-ng/asknot_lib.py", line 71, in validate_tree
    if isinstance(node['children'], basestring):
NameError: name 'basestring' is not defined

looks reasonable from code...

Any details on how well this is working?

Hi,
Apologies for slight miss use of GitHub issue, though I couldn't see any contact detail. Happy to be redirected else where.

Just found this project and it looks very cool. I like how you ask people what they are interested, rather than telling them the things they could do.

Do you have any stats (or gut feel) on how well whatcanidoforfedora.org has been received and if it's had a positive effect?

I'm looking at Ansible's Contributor Experience, with a particular focus on reviews and Working Groups (SIGs) and wondering what we can learn from the Fedora Project.

gundalow on Freenode

Let's use JSON

JSON will allow us to have more flexibility with strings and data types, as well as the freedom of having long strings without worrying about YAML issues.

JSON should work pretty well with Python, and I can probably write a YAML -> JSON script to convert our current questions.

Developing openSUSE version of the site

Hi,

I've started work on openSUSE/asknot-ng, and before I needlessly PR I'm curious if you would accept changes like these into upstream? We would most likely want to use our own weblate instance as well (l10n.opensuse.org). I'm not sure how well double weblate integration in one repository works tbh, but maybe it's worth testing.

Add Cockpit as a project

Rolekit does not appear to have a home anymore. Given the most recent mentions I could find[1][2], Cockpit seems to have replaced it. When looking at the project repo's language breakdown I was not sure which question section would be the most appropriate for it.

Missing LICENSE?

First, the standard disclaimer: I am not a lawyer, and this does not constitute legal or financial advice.

Generally, IMHO, it is a good idea to use FSF or OSI Approved Licenses (which can be found here https://www.gnu.org/licenses/licenses.html and here http://opensource.org/licenses/category)

The Free Software Foundation has a useful guide for choosing a license: https://www.gnu.org/licenses/license-recommendations.html

I often reference the Software Freedom Law Center's Legal Primer for both practical and academic purposes (highly recommended): https://www.softwarefreedom.org/resources/2008/foss-primer.html#x1-60002.2

https://tldrlegal.com/ is quite a useful resource for comparing the various FOSS licenses out there once you have some context

To get ahold of actual lawyers/advisors who help FOSS projects, you can reach out to the FSF, SFLC, and OSI at:
[email protected]
[email protected]
[email protected]

Hope this helps, and happy hacking!

Localization

What will be used for localization? I did the first implementation work on the original project for using webL10n javascript library. I could help adding it here too.

"Fedora Infrastructure Apps" is cannot scrolled, therefore some button cannot be clicked.

At "Fedora Infrastructure Apps" list of this asknot, the lower side of list is out of the screen. Therefore it can not be selected.
screenshot from 2016-05-20 11-20-41

If I disable the web-browser menu-bar, then the lower side of list is inside this screen, therefore it can be selected.
But if I enable the web-browser menu-bar, then the lower side of list is out of the screen, therefore it cannot be selected.

Custom page after all questions end

Currently (at least at whatcanidoforcoala.org) after the last option ends, the first option loops back. It would be great if we could have a custom page (so that we can redirect the user to the IRC/gitter page for more questions). Or if this feature already exists, how could we implement this?

Build and Run as Container adn Expose to My box

I successfull build but I don't know how to run?

REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/asknot latest b08d90b615d7 28 minutes ago 660 MB

Is there any additional parameters that I've had to use:

podman run --name=asknot -d -p 8080:80 localhost/asknot

In my browser box

whacanidoforfedora.org:8080

but I can't connect....

Is there something I'm missing? or Doing in a inappropiate way?

kind Regards.,

please migrate to the new Fedora translation platform

Hello, the Fedora project migrates its translation platform to Weblate [1].

This tool directly interact with your git repository, and requires us to know:

  • [mandatory] which branch is your development branch?
  • [mandatory] have you merged latest translation from Zanata and locked the project?
  • [info] Weblate will handle updates when pot file changes, don't edit po files for this [2]
  • [optional] what is the license of translation? (please use a code from https://spdx.org/licenses/)
  • [optional] do you have any announcement/warning you would like to display to the translators? (it will be displayed in Weblate)
  • [optional] do you need us to activate any specific checks? (this is a setting per component [3])
  • [optional] do you need us to automatically detect new translation files? (typical usecase: website translation with one translation file per page)

Please note:

  • For github hosted projects, Weblate open pull request. For other project, you'll have to add a key to allow commits.
  • In Weblate's vocable, one project is a group of component. Each component is a translation file. You can have many projects or many components or both.
  • You can change your mind over time, just reach [email protected]

[1] https://communityblog.fedoraproject.org/fedora-localization-platform-migrates-to-weblate/
[2] https://docs.weblate.org/en/latest/admin/continuous.html#avoiding-merge-conflicts
[3] https://docs.weblate.org/en/latest/user/checks.html#translation-checks

Gestures

As we adjust the application to work/look better in mobile ( see issue: #22 ), would possibly like to further mobile support by adding gesture events with http://hammerjs.github.io/ ?

Example: Swipe Left to quickly go back, right to see the next option, up to go down a level and learn more, or swipe down to go back to the top level if possible.

Babel extractor doesn't work

I tried to extract new pot with updated strings using the guide in README.md.

The extractor fails with following:

running extract_messages
extracting messages from questions/coala.yml
Traceback (most recent call last):
  File "/var/home/zlopez/git/asknot-ng/setup.py", line 5, in <module>
    setup(
  File "/var/home/zlopez/git/asknot-ng/.venv/lib64/python3.10/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib64/python3.10/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib64/python3.10/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.10/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/var/home/zlopez/git/asknot-ng/.venv/lib64/python3.10/site-packages/babel/messages/frontend.py", line 481, in run
    for filename, lineno, message, comments, context in extracted:
  File "/var/home/zlopez/git/asknot-ng/.venv/lib64/python3.10/site-packages/babel/messages/extract.py", line 149, in extract_from_dir
    for message_tuple in check_and_call_extract_file(
  File "/var/home/zlopez/git/asknot-ng/.venv/lib64/python3.10/site-packages/babel/messages/extract.py", line 207, in check_and_call_extract_file
    for message_tuple in extract_from_file(
  File "/var/home/zlopez/git/asknot-ng/.venv/lib64/python3.10/site-packages/babel/messages/extract.py", line 243, in extract_from_file
    return list(extract(method, fileobj, keywords, comment_tags,
  File "/var/home/zlopez/git/asknot-ng/.venv/lib64/python3.10/site-packages/babel/messages/extract.py", line 320, in extract
    raise ValueError('Unknown extraction method %r' % method)
ValueError: Unknown extraction method 'asknot'

I tried to look at the issue, but I wasn't able to understand how the entry_points for babel actually works.

No convenient way to go back after accidentally click "not interested"

If i'm quickly cycling through the categories and accidentally click not interested on one that i want to dive into, i have to cycle all the way through them again.

I think a slight improvement to the user experience would be to put back and forward triangles on the left and right side (respectively) of the inset category description

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.