Git Product home page Git Product logo

ggr_cms's Issues

使用引導 && CSS coding style

你們組別的題目蠻有趣的,
但若可以的話請提供範例 Google Spreadsheet,
以提供內容操作。

前端開發建議

  1. 階層越多會導致瀏覽器渲染速度會更慢,若之後越寫越有經驗,請將 CSS 階層寫在四層以內,例如 .sheet-block > .table > thead > tr > th 改成 .sheet-block 也可以
  2. 除了樣式 reset 外請不要在 HTML 標籤上直接寫 css 樣式,例如 img 的部分,原因是一個網站上會有多頁內容,有可能在每頁的內容都不一樣,若是你寫死每個 HTML 標籤樣式,之後在覆蓋樣式會相當麻煩

Pagination

Rending all records always dangerous, please do pagination control or limit in SQL query.

      @spreadsheets = Spreadsheet.all
      @tags = Tag.all
      render :spreadsheet_show

Don't understand the purpose

非技術人員可以隨時透過 Google Spreadsheet 來更新網站上的內容
Then you said

Copy the Javascript file.
Paste it in the html file of your website.
Add the xml tag with the id selecting the specific value in the column you choose to the html file.
Then, once you change your spreadsheet, your website also updates immediately.

But they are not tech guys, even not recognized the HTML & javascript, how can it prevent error happens? Also, upload means another deployment.

Why don't we create a javascript SDK file for them to include and can non-tech guy can edit here with auto-update via API from website?

No locale support

flash[:notice] = "Tag was successfully updated" hardcoded with English only, please use i18n to provide multiple locale support.

Rescue handling

If cannot find Tab, it throws ActiveRecord::RecordNotFound, you need a better error handling solution.

  def dimension 
    @tab = Tab.find(params[:id])
    @tab.toggle!(:dimension)

缺 DB indexes

請針對需要的欄位補上 DB indexes 喔,例如 foreign key 都應該加上。

Don't have proper guidance on sheet input

Don't have template and tutorial, regular users are not superusers, they will be hard to understand the logic.

Should have at least one tutorial with screenshot to show how it can be used, and provide google sheet sample.

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.