GithubHelp home page GithubHelp logo

scholar-6 / brillder Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 11.0 69.42 MB

License: Apache License 2.0

HTML 0.15% TypeScript 66.46% JavaScript 0.35% Dockerfile 0.01% SCSS 32.89% CSS 0.14%
a-level edtech education mooc react survey

brillder's People

Contributors

aamirhk9122 avatar aminhussaini avatar aromakh avatar dependabot[bot] avatar farman9849 avatar farmanahmed2007 avatar ivanromakh avatar lindsaymacvean avatar sashascholar6 avatar scholar6admin avatar tobyperes avatar william-gooch avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

brillder's Issues

React first page

Add some styling and make sure the button 'create' goes to Pro forma page.

Add a preview phone window on right hand side

We want a preview window on the right hand side of the Brick Build screen.

image

Ignore the rest of the screen we just want a phone outline on the right hand side. On smaller screens this preview should disappear.

This phone outline will be empty and show message "Preview not available"

When we rebuild the play interface we will be bringing these components in as the preview but until then it will remain empty.

Please use a phone outline similar to Lucid chart. (Feint grey)

Create 4 starting pages

First page has the following options.

  1. Create a new brick
  2. View Existing Bricks

The poster had these options but ignore them for the moment we can come back to them later.
image

Second Page is a meta data form to create a new brick
image

Third page will be similar to SurveyJS, it will be a content building page using blocks.
image

Fourth Page will be a list of bricks
[There is not really an image for this on the poster]

Add user types

Add following user types:

Student,
Teacher,
Builder,
Admin

Add alternative subject

We need another field on pro forma page.

  • [] Brick Table
  • [] Swagger
  • [] Backend API
  • Front end

Brick Builder Page

Create first version of Brick Builder page.

Does not have to be working but should have first version of the layout of the interface.

Short Answer

Add prefill text "Enter short answer..."

Also add ability to add more than one short answer

Also add a delete button (bin icon) on the left

Text component

Insert CKeditor Wysiwyg into text component.

Review documentation and see if it supports Latex.

We want it look something like this
image

But we only want Bold and Underline as options. (no other options)

Character limit on the text component should be 500 Characters.

Proforma Create

Add 'create' button and make that go to the first version of the brick builder page.

fix warnings

Please fix the following warnings from the npm run-script build output:

./src/components/loginPage/loginPage.tsx
  Line 10:10:   'useLocation' is defined but never used                                                                    @typescript-eslint/no-unused-vars
  Line 109:13:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text

./src/components/registerPage/registerPage.tsx
  Line 16:20:  Expected '!==' and instead saw '!='                                                                        eqeqeq
  Line 28:13:  Expected '!==' and instead saw '!='                                                                        eqeqeq
  Line 93:13:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text

./src/components/investigationBuildPage/buildQuestions/components/Text/Text.tsx
  Line 19:15:  'data' is assigned a value but never used  @typescript-eslint/no-unused-vars

./src/components/app/privateRoute.tsx
  Line 1:17:  'Component' is defined but never used  @typescript-eslint/no-unused-vars

./src/redux/actions/auth.ts
  Line 23:16:  Expected '===' and instead saw '=='  eqeqeq

./src/components/proFormaPage/editorRow/editorRow.tsx
  Line 23:3:  Useless constructor  @typescript-eslint/no-useless-constructor

./src/components/investigationBuildPage/buildQuestions/components/QuestionComponentSwitcher.tsx
  Line 24:12:  Expected '===' and instead saw '=='  eqeqeq
  Line 26:19:  Expected '===' and instead saw '=='  eqeqeq
  Line 28:19:  Expected '===' and instead saw '=='  eqeqeq
  Line 30:19:  Expected '===' and instead saw '=='  eqeqeq
  Line 32:19:  Expected '===' and instead saw '=='  eqeqeq
  Line 34:19:  Expected '===' and instead saw '=='  eqeqeq

./src/components/preLoginPage/preLoginPage.tsx
  Line 25:16:  Expected '===' and instead saw '=='                                                                        eqeqeq
  Line 35:17:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text
  Line 43:17:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text
  Line 51:17:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text
  Line 58:15:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text
  Line 90:15:  img elements must have an alt prop, either with meaningful text, or an empty string for decorative images  jsx-a11y/alt-text

./src/redux/actions/proFormActions.ts
  Line 2:8:   'axios' is defined but never used                              @typescript-eslint/no-unused-vars
  Line 4:8:   'host' is defined but never used                               @typescript-eslint/no-unused-vars
  Line 5:10:  'Brick' is defined but never used                              @typescript-eslint/no-unused-vars
  Line 14:7:  'fetchProFormaDataFailure' is assigned a value but never used  @typescript-eslint/no-unused-vars

./src/components/investigationBuildPage/header/pageHeader.tsx
  Line 34:3:  Useless constructor  @typescript-eslint/no-useless-constructor

./src/components/investigationBuildPage/buildQuestions/questionComponents/questionComponents.tsx
  Line 35:14:  Expected '===' and instead saw '=='  eqeqeq
  Line 37:21:  Expected '===' and instead saw '=='  eqeqeq
  Line 39:21:  Expected '===' and instead saw '=='  eqeqeq
  Line 41:21:  Expected '===' and instead saw '=='  eqeqeq
  Line 43:21:  Expected '===' and instead saw '=='  eqeqeq
  Line 45:21:  Expected '===' and instead saw '=='  eqeqeq
  Line 47:21:  Expected '===' and instead saw '=='  eqeqeq
  Line 49:21:  Expected '===' and instead saw '=='  eqeqeq
  Line 51:21:  Expected '===' and instead saw '=='  eqeqeq
  Line 53:21:  Expected '===' and instead saw '=='  eqeqeq

./src/components/investigationBuildPage/buildQuestions/buildQuestionComponent.tsx
  Line 36:9:  'move' is assigned a value but never used  @typescript-eslint/no-unused-vars

./src/components/investigationBuildPage/investigationBuildPage.tsx
  Line 58:53:   Expected '===' and instead saw '=='  eqeqeq
  Line 140:23:  Expected '===' and instead saw '=='  eqeqeq
  Line 183:33:  Expected '===' and instead saw '=='  eqeqeq

./src/components/investigationBuildPage/buildQuestions/drag/dragAndDropBox.tsx
  Line 62:13:  Expected '!==' and instead saw '!='  eqeqeq

./src/components/investigationBuildPage/dragTabs/dragTab.tsx
  Line 68:20:  Expected '===' and instead saw '=='  eqeqeq

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.