itsalb3rt / afterman Goto Github PK
View Code? Open in Web Editor NEW๐ Create beutiful docs in markdown and HTML from postman collection
Home Page: https://afterman.netlify.app
License: MIT License
๐ Create beutiful docs in markdown and HTML from postman collection
Home Page: https://afterman.netlify.app
License: MIT License
critical issue is here.
to import collection 2.1 v json file is not working.
endor.a6ddb3d8.js:7 TypeError: Cannot read property 'forEach' of undefined
at 3.76a98802.js:1
at Array.forEach (<anonymous>)
at a.tableOfContent (3.76a98802.js:1)
at tn.get (vendor.a6ddb3d8.js:7)
at tn.evaluate (vendor.a6ddb3d8.js:7)
at a.tableOfContent (vendor.a6ddb3d8.js:7)
at at (3.76a98802.js:1)
at a.e._render (vendor.a6ddb3d8.js:7)
at a.n (vendor.a6ddb3d8.js:7)
at tn.get (vendor.a6ddb3d8.js:7)
Is your feature request related to a problem? Please describe.
Error in render: "TypeError: Cannot read property 'forEach' of null" after import any collection.
afterman/src/components/RequestUrl.vue
Line 21 in 81d965d
View Details:
Describe the solution you'd like
Apply fix according to what was discussed.
Describe alternatives you've considered
NONE
Additional context
NONE
Is your feature request related to a problem? Please describe.
Use the main icon like favicon
Describe the solution you'd like
Use the project main image.
Describe alternatives you've considered
NONE
Additional context
NONE
Possibility of adding a logo of the project or company.
You may have to find a way for documentation downloads to be made in zip.
Is your feature request related to a problem? Please describe.
The API at startup does not need to show as much detail
Describe the solution you'd like
2 options (HTML)
1 - Inject javascript to add this feature
2 - Add a static javascript file that can be downloaded along with the main file
At Markdown I can't think how
Describe alternatives you've considered
None
Additional context
None
Is your feature request related to a problem? Please describe.
Download in Markdown not function when import a collection with multiple folders.
View Details:
Describe the solution you'd like
Apply fix according to what was discussed.
Describe alternatives you've considered
NONE
Additional context
NONE
Is your feature request related to a problem? Please describe.
No description in folder section
Describe the solution you'd like
Iterate the description folder;
"item": [
{
"name": "Employees",
"item": [ // objects...],
"description": "Employees is a users of the system" // <---- this
}
]
Describe alternatives you've considered
For this moment no considered any alternative
Additional context
Is your feature request related to a problem? Please describe.
Use modern solution for prevent webpack transpilation of necessary function for final documentation page.
// src/assets/js/TableOfContentUtil.js
/**
* Prevent webpack transpilation
*/
const inmutableToggleContent = `
window.onload = function () {
window.toggleContent = function (idEl, iconContainer) {
const content = document.querySelector('#' + idEl)
if (content.classList.contains('hide')) {
iconContainer.textContent = 'โผ'
content.classList.add('show')
content.classList.remove('hide')
} else if (content.classList.contains('show')) {
iconContainer.textContent = 'โบ'
content.classList.add('hide')
content.classList.remove('show')
} else {
content.classList.add('show')
}
}
}
`
Describe the solution you'd like
Use this plugin:
https://www.npmjs.com/package/uglifyjs-webpack-plugin
Following the quasar documentation:
https://quasar.dev/quasar-cli/handling-webpack
https://forum.quasar-framework.org/topic/5151/solved-how-to-add-a-webpack-plugin-and-require-file
Describe alternatives you've considered
NONE
Additional context
Is your feature request related to a problem? Please describe.
When import a collection with any request with empty body the console say:
[Vue warn]: Error in render: "TypeError: Cannot read property 'toString' of undefined"
Describe the solution you'd like
check if the function receives a string.
parseBody (body) {
if (body) {
return body.toString()
}
return ''
},
Describe alternatives you've considered
Or
parseBody (body) {
if (typeof body === 'string') {
return body.toString()
}
return ''
},
Additional context
NONE
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.