ggr_cms's People
ggr_cms's Issues
What's the point of using ActionCable
What's the point of using ActionCable?
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?
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)
No locale support
flash[:notice] = "Tag was successfully updated"
hardcoded with English only, please use i18n to provide multiple locale support.
缺 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.
Crashes
When entering https://docs.google.com/spreadsheets/d/1whnGiztn9wC7Bt9G6FMiSPxiGndXsMwDoOvfxOh2MWI/edit#gid=587941977 as a sheet, the website crashed.
Pagination
Rending all records always dangerous, please do pagination control or limit in SQL query.
@spreadsheets = Spreadsheet.all
@tags = Tag.all
render :spreadsheet_show
使用引導 && CSS coding style
你們組別的題目蠻有趣的,
但若可以的話請提供範例 Google Spreadsheet,
以提供內容操作。
前端開發建議
- 階層越多會導致瀏覽器渲染速度會更慢,若之後越寫越有經驗,請將 CSS 階層寫在四層以內,例如 .sheet-block > .table > thead > tr > th 改成 .sheet-block 也可以
- 除了樣式 reset 外請不要在 HTML 標籤上直接寫 css 樣式,例如 img 的部分,原因是一個網站上會有多頁內容,有可能在每頁的內容都不一樣,若是你寫死每個 HTML 標籤樣式,之後在覆蓋樣式會相當麻煩
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.