Comments (4)
from kumascript.
I generally like the idea but I'm concerned about usability. Let's say I'm reading child.doStuff()
and I see a link that just says getStuff()
. When I click on it I'm now on a page titled parent.getStuff()
. This is potentially disorienting, especially if I'm new to development. I'm also now browsing in the parent
context when it's the child
I'm interested in.
To say this another way, I think labeling has to be done thoughtfully and carefully for this to work.
from kumascript.
@jpmedley - Those are good points, although I point out that in this case we're talking solely about the macro that generates a list of links with brief summaries for all the items in an interface and not about general in-context links.
Still, this is probably a good argument for keeping the inherited stuff and the things from mixins listed separately. Then you could have a list like:
Attributes
BarInterface
provides the following attributes. In addition, it inherits attributes from the FooInterface
interface and implements the Bingo
and Bongo
mixins.
barattrib1
Summary of the first attribute implemented on BarInterface
.
...
barattribN
Summary of the last attribute implemented on BarInterface
.
Inherited from FooInterface
fooattrib1
Summary of the first attribute implemented on FooInterface
.
...
fooattribN
Summary of the last attribute implemented on FooInterface
.
Implemented from the Bingo
mixin
bingoattr1
Summary of the attribute implemented from the Bingo
mixin.
Implemented from the Bongo
mixin
bongoattr1
Summary of the attribute implemented from the Bongo
mixin.
Of course, all the code terms in there are links to the appropriate section or page.
That way, all the information is available, hopefully without confusing users when links to go other interfaces or to mixins.
from kumascript.
Also, this macro currently leaks unclosed <dl>
tags, as can be seen here.
from kumascript.
Related Issues (20)
- Obsolete Header with two bins HOT 2
- Index macro replaces pointy brackets with < and >, which is not actually desirable for HTML reference pages HOT 1
- Update semver query for BCD for 1.0.0 HOT 2
- Why Node 10 when kuma uses Node 12?
- Provide ability to render multiple data points/trees in a single BCD table HOT 2
- LearnBox macro is failing on Korean docs HOT 2
- Javascript Demo editor does not recognize nullish coalescing operator HOT 2
- Add 'Note' status (label) to spec2.ejs
- A rendered {{Compat}} table should include a help link
- Consider linking to W3C Recommendation for ARIARole macro
- Different color for flagged features? HOT 1
- Make SeeCompatTable macro do nothing HOT 5
- Would like to use Compat.ejs as standalone script
- Update kumascript jenkins job to deploy to multiple kubernetes cluster
- Display of partial implementations in compat data can be misleading
- use @mdn/browser-compat-data rather than deprecated mdn-browser-compat-data HOT 2
- CSSAnimatedProperties.ejs outputs wrong property HOT 1
- CSSSyntax doesn't parse numeric range restrictions correctly
- browserAction.openPopup not present in AddonSidebar HOT 4
- Compat Macro Bug HOT 2
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 kumascript.