sourcecodeoer / sourcecode-front Goto Github PK
View Code? Open in Web Editor NEWSourceCode Frontend
SourceCode Frontend
Hello,
As showcased here, the openapi-enforcer doesn't support to have [] in query parameters :
In a nutshell :
http://127.0.0.1:57185/api/tags?state=pending&tags_ids=1&tags_ids=2&categories_ids=1&title=hero
✔️http://127.0.0.1:57185/api/tags?state=pending&tags_ids[]=1&tags_ids[]=2&categories_ids[]=1&title=hero
❌In the axios docs, the default behaviour of the culpit ( paramsSerializer
) is explained :
// `paramsSerializer` is an optional function in charge of serializing `params`
// (e.g. https://www.npmjs.com/package/qs, http://api.jquery.com/jquery.param/)
paramsSerializer: function (params) {
return Qs.stringify(params, {arrayFormat: 'brackets'})
},
So arrayFormat: 'repeat'
should be used instead :
// `paramsSerializer` is an optional function in charge of serializing `params`
// (e.g. https://www.npmjs.com/package/qs, http://api.jquery.com/jquery.param/)
paramsSerializer: function (params) {
return Qs.stringify(params, {arrayFormat: 'repeat'})
},
What can we write when it comes to the contract between a user and the application to use and exchange data.
In the main page of our own exercises, make the actions in the action selector (which is appearing when selecting at least one exercise) work for publishing and unpublish.
🚨 You need to enable Continuous Integration on Greenkeeper branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet.
We recommend using:
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.
When we add some filters in the main page and then go to a specific exercise, there is a bug when we go back to the main page. The selected filters are there, but we can add exactly the same filter every time we go to a specific exercise
To handle licenses, I suggest to use the SPDX License List.
Why ?
"https://spdx.org/licenses/" + spdxIdentifier + ".html"
Example : Creative Commons Attribution Non Commercial Share Alike 4.0 International
Hello,
I'm come up with few ideas to increase the UX :
If a tag string length is above X (let's say 50 characters), a tooltip to display the full text (when we are hover this tag) is useful.
Currently, some tags are too long (it could occur for other reasons like a long course name)
Currently, we have something like that :
The | symbol may be not clear enough for some cases (like many tag , etc...) so why not reuse the same tag container and the same color used in the main search (except that here there is not cross to remove the tag like the main search)
Of course, because some tags have long, we could combine this idea with the previous one (the tooltip)
With the context, I don't believe it is useful to prepend "Nb de" (nombre de) in the columns titles as it seems easy to understand
Hello,
For documentation purposes, it it better to explain environment variables used in the app.
Currently, I saw only one in the nuxt.config.js file :
Endpoint to use : /api/bulk/create_exercises ( the application/json version)
Use database with true data to complete this section
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.