Comments (17)
I can help out on this. But you have to create the repo first 😄
from backgrid.
https://github.com/wyuenho/backgrid-filter
https://github.com/wyuenho/backgrid-select-all
https://github.com/wyuenho/backgrid-paginator
https://github.com/wyuenho/backgrid-text-cell
https://github.com/wyuenho/backgrid-select2-cell
I've already moved the moment-cell extension. You can use that as a guide on how to move to the extensions.
I've added you as a collaborator of the new repos.
Thanks so much!
from backgrid.
I will do it at night 😄 May I use bower to point to the correct backgrid version to pull from?
from backgrid.
Let's hold off on working on bower for the moment. The requirement is to support CommonJS because it's a requirement for Travis-CI, other than that I see very little utility for support bower or component or whatever at the moment.
from backgrid.
Actually just need to do configure the bower.json (for the extensions) then perform
npm install bower
If not, any pointers how do you plan to configure the extensions to point to the backgrid?
For bower, just need to configure the backgrid as the dependencies to pull in.
from backgrid.
By directly copying backgrid.js over for now. Once all the extension have been extracted, we can then make backgrid available on npm, and all the extensions will reference it as a dependency.
from backgrid.
@wyuenho please review on the migration, how will you want to make backgrid available on npm and all the extensions to reference from it. I will suggest the other external components can also be reference in a similar way?
from backgrid.
Ideally there would be a asset management system that consumes bower or component to linearize the dependency order of the JS and CSS files during concatenation. Does such a tool exist at the moment that's not AMD? Maybe Ender? If yes that let's find out what's required to support that.
from backgrid.
I'm currently looking at Ender and browserify. They both look pretty good and all we have to do is support CommonJS. I'm still looking for a package manager that can package up CSS as well as JS.
from backgrid.
I am using requirejs to achieve this 😄 but I guess you are not into it ...
from backgrid.
It's a passing fad that gives you 50 different options to export 1 symbol at a time. It will soon be obsoleted by ES6. :D
from backgrid.
+1 CommonJS
from backgrid.
@mallim I've grafted backgrid's old history back onto the extension repos and did a force push. Please clone again and see if there's any problem.
I'm closing this ticket for now.
Thanks @mallim a lot. You've been a big help. Where do I send a cake :D ?
from backgrid.
@wyuenho Just a few questions: Do we need to do anything to make the extensions commonjs compatible? What utility do you have in mind to improve the build? For example, the dependencies should be pulled in for the various extensions.
from backgrid.
I've already UMDify the extensions. I'm still looking at options for building frontend components. They all look bad so far. The least bad solution seems to be Component, but its list of packages are very out of date.
from backgrid.
Something similar to cartero (https://github.com/rotundasoftware/cartero) will be good
from backgrid.
Ok, the conclusion is more than 9 months later, package managers for SPA still suck balls. Let's just continue using package.json to get Travis-CI working now.
from backgrid.
Related Issues (20)
- use Backgrid.UriCell but backbone router not work
- How to prevent multi-row selection? HOT 3
- Initial collection fetch causes table rows to double render HOT 1
- Export to excel + csv
- SelectCellEditor doesn't trigger an edited event in its model
- i want to compare inside cell render model attribute with one object which is out side.
- Backgrid Pagination infinite mode
- Can't use a cell instance as a Column's 'cell' attribute
- API docs site is down HOT 4
- ClientSideFilter .shadowCollection instance doesn't stopListening() on view.remove()
- Column header cell's become buttons HOT 2
- Question: Please help me understand how to correctly include an extension?
- Question: removing grid lines
- Conditional Cell Processing
- Module not found: Error: Can't resolve 'backgrid/lib/backgrid.css'
- Errors in the filter documentation
- [Feature Request] Expose comparator per column. sortValue does not work for special cases.
- Null pointer reference when
- Is there any way to filter out few entries and show them?. I want to show table records based on user, user is one of the key value pair in model. HOT 1
- Supporting child rows
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.
from backgrid.