Git Product home page Git Product logo

diprela's Introduction

ypm

ywesee Pharma Monitor

Use Cases

  1. Monitor RSS Feeds in file rss_feeds.txt
  2. Monitor the RSS Feeds based on keywords in file keywords.txt
  3. Make Hash-Tags out of Keywords and make Hash-Tags clickable.
  4. Sort monitored articles by country.
  5. Show article count by country.
  6. Keywords and RSS-Feed-Links must be stored in a DB.

Running the App

meteor npm i
meteor

diprela's People

Contributors

b123400 avatar zdavatz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

b123400

diprela's Issues

Search optimisation: Multi-Vitamin-Search

  1. Beispiel: Wenn ich nach Vitamin C + Vitamin B6 + Kalzium suche, dann schlägt es mir anschliessend jeweils dieses Produkt an erster Stelle vor welches den höchsten Gehalt an Vitamin C aufweist.
  2. Ist es möglich, dies so zu ändern, dass es mir bei einer kombinierten Suche jeweils dieses Produkt anzeigt, welches alle 3 Nährstoffe in höchsten Mengen besitzt?

Add Google Tag for Diprela

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GZH3XG52L6"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-GZH3XG52L6');
</script>

see: https://deno.com/blog/ga-with-deno-deploy. I guess we can add as middleware.

Do not show entries with identical synonyms.

  1. Sometimes the we have duplicate entries because the same name can appear in different categories.
  2. To prevent double entries, hide entries if the synonym cell is identical.
  3. Search for "Apfel" results in the same information being displayed about 6 times. The cell was duplicated in the CSV file, because it can belong to different categories (if you search by category).
  4. Bildschirm­foto 2023-02-15 um 17 42 39

Link the title of the InfoBox with the PDF

  1. Link the title of the Infobox with the PDF according to column name.
  2. All PDFs are in the pdf dir.
  3. The name of the PDF is according to the column name in the CSV file.
  4. So PDF AB.pdf belongs to column AB in the csv file.
  5. So the title Vitamin B6 (Pyridoxin) (mg) of the box in the search result is linked with the PDF AB.pdf
  6. The PDF U-Y.pdf is valid for the columns U,V,W,X and Y.
  7. All PDFs must open in a new Tab.

Change color codes

  1. The last four boxes should be brown: ​#cd853f
  2. All red boxes should be green: ​#008b00
  3. The box "Kategorie" should be blue. ​#0F52BA

Anleitung

  1. Place a link Anleitung above the search box.
  2. Link the link with Anleitung.pdf out of the pdf Dir.
  3. Open the PDF in a new Tab, when the user clicks the link.

Loading indicator

  1. When you search for i.e. Selen the user can not tell if the site is already searching/loading or not.
  2. Show a progress bar or a loading indicator, that the results are being loaded.
  3. This should prohibit the user from hitting enter again or repeating the search.

Combined Checkbox search

  1. Combined Checkbox search
  2. Put a checkbox after the "Anleitung" link.
  3. If that checkbox is clicked, then the search result is sorted by combined max values, and products that do not contain all searched values are not shown.
  4. This is specially interesting when searching for multiple vitamins in the same query, or if you want to limit the query only to products that contain all the values, that are being searched for.
  5. i.e. the top of the search result is the product, that has the highest values in all categories that have been search for.

Search by all Synonyms

  1. Currently the search only works for the first Synoym.
  2. i.e. Searching for Pasta or Nudeln does not return any results.
  3. But if you search for Teigwaren then you get the result.
  4. Problem: Pasta and Teigwaren are not in the first position in the Synonym column.

Import CSV, search and sort

  1. This is a WebApp.
  2. Import the CSV file from the csv Dir.
  3. Colors for font, background etc. should be set via a CSS file.
  4. There is one search field at the top.
  5. You can search by Name,Synonym, Kategorie, Vitamin name (fields E3 until AR3).
  6. Searchable fields are column A (name), column B (synonym) and column C (Kategorie), all the values in each field. Simple type-as-you-go text search.
  7. Searchable Vitamins by Name are the fields E3 until AR3. Simple type-as-you-go text search. Use the exact text from the fields E3 until AR3.
  8. Example 1: User selects via search for example Kalium, then all the Names, one per line from column A are shown. Sorting is "descending" by the number from the Kalium field. Largest value first. User sees all the values of the Name field and the corresponding number of the Kalium field. All values are shown. With one click the order can be resorted to "ascending" (smallest number first). User can also sort by A-Z or Z-A via the Name field.
  9. Example 2: User selects via search for example Rohessspeck, then all the values of all the Vitamins are shown. Default sorting is again is "descending". With one click the user can sort to ascending.
  10. In the lists generated under 5. and 6. the user can click any shown "Vitamin Name" (fields E3 until AR3). A click on an new vitamin name will initiate a new search based on the name that was clicked (Example 1.). A click on a new "Name" will initiate a new search based on the name (Column A) that was clicked (Example 2.).
  11. Width and Height should be adaptable so user can use Mobile browser or Desktop browser.
  12. You can also search via the value of the field AS, AT, AU, AV. Sort is then either ascending or descending by the values "Ja" and "Nein".

Highlight the searched Vitamin in the Search result

  1. The users searches for Selen
  2. The result is shown.
  3. For each result the Selen field/box should be marked with a slightly darker red, so the user spots it faster in vitamins list of each result.
  4. If the users ads Vitamin B2 to the basket, then that should be highlighted as well.
  5. If he ads another Vitamin, then that one has to highlighted as well.

Suchbalken und Trefferfarbe stimmt nicht überein

  1. Die Suchbalken und Trefferfarbe stimmt nicht überein.
  2. Kategorie ist grün aber Milchersatz ist in der Unterkategorie
  3. Die Suche über die Kategorie klappt nicht. Es klappt nur die Suche über Unterkategorie
  4. Bildschirm­foto 2023-03-11 um 17 44 08

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.