Giter Club home page Giter Club logo

showcase's Introduction

Showcase is a project where we trying to incorporate two major tasks:

  1. show to a new users a collection of grocery lists - before they sign up - they want to explore the data that we have
  2. figure out the way about making GL downloable by generating a simple PDF file

Build Status

While we're coding it - we also extending the code base of GS, by testing fetch plugin, by moving away basic components, like lists, grocerylist component, etc...

Major goals for showcase is -

  • realize a better way to connect fetch with React projects
  • test different plugins that will convert HTML into PDF
  • set up first basic routes for previewing data from grocery lists(sometimes you just want to compare raw data, not at fancy way)
  • test an assuption - Can we separate some react components and import them as npm package
  • show users what data we have - at preview mode

Stretch goals:

  • install and connect Raven at index.js
  • adjust logic of envconfig and try to connect to our local/shared servers
  • make first axios calls and be happy to receive json results
  • connect to our simple fake-api that i've created...

  • complete grocery list components - with empty/plain version - for just data and verions with antD collapse
  • wait when antd will release a new version of package and apply to work DepartmentListCollapse
  • make header blue or white not black with black text color
  • we can fix tiles too. same background colors and text color is not perfect + shoplist update with a similar logic
  • List -> Departments \ Ingredients -> get data form selects with AntD. Details upon request. After onChange - we have a redirect to Ingredient list, related to that Department
  • advanced search at header, not just by grocery list name, we also can search by "departments" or "ingredients". maybe we can also add "categories", like "healthy", "cheap", "weight-loss", etc.
  • Grocery list printed version in flexboxes and borders
  • recipe to gl convertion
  • GetData / Flow, from Meal Calendar to Showcase
  • Add to GL flow of forms we can create

https://codesandbox.io/s/n1p6k7n440

Showcase have search by Title Modals with layouts Connection to fetch Can be quickly replaced with "fake api"

  1. create a separated view for Grid
  2. separated layout for modal render
  3. we can make our component this way, so we can update into Material UI
  4. Print template of Recipes
  • moving away from this project code, related to pdf export

This project was bootstrapped with Create React App.

showcase's People

Contributors

aanchirinah avatar atherdon avatar avuidrauxs avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar kaiz123 avatar renovate-bot avatar vadim9999 avatar

Stargazers

 avatar

Watchers

 avatar

showcase's Issues

testing

App.js getID

when i print method getId
i think it runs at least 3 times.
desktop screenshot

design

react app
i assume it self explanatory.
but: close button
header color changes
last button running away

List of cards

More details upon request.


At this project we have some cards, that AntD library can create.
After chat with Vadim we realized that mauwerk works slow, and it's better to replace it.
So we'll create a separated page, that will be similar to HomeView, but instead of Grid from mauwerk - we'll have component, with cards.

it's a big task, but i want to start it. Soon we plan to make visible some of our projects, and this task is part of this plan.
Let's start with small things:
separated component, connected to router, that can display few cards in loop.

remove recipe stuff

we cannot do it right now, because we stuck with it between projects.
Maybe moving it away to some separated repo as cards-wrapper will help us

and it should be done only after cleaning up the pdf stuff

add styles to tile

Right now they all looks similar. But maybe, using this different gradients color is not a good idea, but how it can be replaced?

Handle TODO comments

tasks

Move away css from components(i saw at least 3 components that should be clean up)


Update selectors, it's from calendar sutff. and should work at the same level.


RenderGrocery & RenderGroceryId - looks like similar components

--
Update warnings

Dependabot can't resolve your JavaScript dependency files

Dependabot can't resolve your JavaScript dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Error while updating /package-lock.json:
Cannot read property 'match' of undefined

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

You can mention @dependabot in the comments below to contact the Dependabot team.

pdf export v2

so we have our current version and i'm ok with that.
but i want to have a second pdf generator that will draw a borders for each of deparment with ingredients.

basically i want something similar to this: http://templatelab.com/wp-content/uploads/2018/03/grocery-list-template-25.jpg
https://cdn.vertex42.com/ExcelTemplates/Images/grocery-checklist.png

you don't need to delete the previous version. i want to have 2 buttons for generate pdf, that will have 2 different pdf files in the end

Task List 2

  • Tile styles look really bad.

  • prepare pages/layout for flexbox - justify-content

  • RenderGroceryById - rename, fix css, looks like it loads very slow.

  • Move DepartmentInfo into new repository and connect it from there.(details upon request)

  • We can grab and use some logic from MealCalendar project(details upon request)

Tasks List

#28


  • add styles to tile
    #59


  • [pdf][add flexboxes layouts]
    Will share details upon request

  • Enzyme Jest tests
    add basic shallow for components - that we're created.

GroceriStar/calendar#44
#54

Start to work on it only after looking video, related to shallow testing

https://github.com/GroceriStar/react-shopping-list-template/blob/master/package.json
https://github.com/ChickenKyiv/recipe-app-react-native/blob/master/package.json
https://github.com/ChickenKyiv/recipe-search-react/blob/master/package.json
https://github.com/GroceriStar/react-native-shoppin-list/blob/master/package.json

key issue

@vadim9999 you can find this issue when you'll run a npm run test or yarn test.

it's a basic issue, when you have a list of items. At React you should have an key property - that will indicate a different between list items.
The easiest way is to put key=xxx to all of this items, but each item should have a different ID.
I think we discussed a similar problem at our fetch plugin and decided to have a method, that will add a fake-ids to our arrays.
It can be done by shortid package: https://www.npmjs.com/package/shortid

some details can be checked here: https://stackoverflow.com/a/34578819

grocery view

not working here, but works at react-shoplist-template. you can grab it here, play with it and later move away to grocery-component repo, then publish an updated version of that plugin, then replace this functionality here and at shoplist-template. also can create an issue with link to this issue at groceristar-app because we also have a groceryView....

first impression

take some time and look project code.
pick some task and commit changes here.

todo-part1

#133


sync your fork with our latest changes.

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.