Giter Club home page Giter Club logo

adobe-dx's People

Contributors

ahmed-musallam avatar auniverseaway avatar chrischrischris avatar janaki-r-bhagwath avatar jenssingler avatar jjethwa avatar luckyluke-adobe avatar lukdz avatar npeltier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adobe-dx's Issues

FlexModel not available.

Expected Behaviour

FlexModel is available to flex.html

Actual Behaviour

It's not

Reproduce Scenario (including but not limited to)

Try to use flex container

Steps to Reproduce

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

Add reactor & parent

in order to be able to work on #2, we need one command that builds everything, will add one parent, and a root POM

Author Watch

ability to execute javascript after component edit without using MutationObserver in both author and publish.

Author VH

The ability to set CSS vertical height without editor.html infinitely scrolling.

Create documentation website

first step before this repo is being usable would be to create an adobe-dx documentation website using adobe-dx, so we know it "works"

Flex Container

Feature Request

Is your feature request related to a problem? Please describe.
Maybe?

  • You cannot vertically or horizontally center a container item.
  • You cannot re-order container items based on breakpoint.
  • You cannot define per-breakpoint container values (background, foreground, etc.).
  • You cannot set a minimum height for a container or item
  • You cannot use VH in editor.html without an infinite scroll bug.
  • Items cannot vertically stretch to match siblings.
  • You cannot set a universal gutter (or gap) between items

Describe the solution you'd like

The Dx (also known as Dexter) team wants to contribute our Flex Container component.

It is mostly based on flexbox with other niceties thrown in:

Component per-breakpoint features (individually configurable per mobile, tablet, desktop)

  • Set item (child) order
  • Set justify-content
  • Set align-items
  • Set align-content
  • Set background image (with POI selection for offsetting crop)
  • Set background color
  • Set foreground color
  • Set gap (to simulate the CSS grid gap feature)
  • Set min height (px or vh)

Flex item per-breakpoint features (configurable per mobile, tablet, desktop)

  • Set width (auto, column 1-12, %, px)
  • Set min height (px or vh)

One size fits all features

  • Container CTA - Ability to make the entire container clickable (with notice of accessibility concerns)
  • Enable Container - Similar to Bootstrap's container: contstrain max widths using a 'container' CSS class.
  • Accessibility Attributes - Ability to set element, landmark name, and landmark label.

Overall features that come with (i.e. required) and useful for other components

  • dxPolicy - An inheritance scheme for content policy properties that will pick up component-level props first if present. API similarity to ValueMap.
  • Component Governance Render Condition - The ability to completely remove dialog property selection if a boolean is set at the policy level to turn the property off. If policy property is set, page-level author cannot change property. ACLs allow for admins and template authors to still view and edit dialog properties.
  • Context-Aware Datasource - A datasource to power granite selects & colorfields that allows tenant / brand / locale specific properties.
  • Author VH - The ability to set CSS vertical height without editor.html infinitely scrolling.
  • Author Watch - The ability to execute javascript after component edit without using MutationObserver in both author and publish.
  • OSGi breakpoint service - The ability to configure breakpoint pixel values to satisfy per-breakpoint configs above.

Are there alternatives?
CSS Grid, but it's not IE11 compatible (without transpiling / decent authorability)

Documentation
https://css-tricks.com/snippets/css/a-guide-to-flexbox/

As I find time, I'll put some videos together in an AEM context. Most of the docs are probably covered with the above criteria.

ID Service

Something to generate CSS IDs. Must be unique and not cause collisions on page.

On private Dexter, we went with something based on path and hashed it.

/content/xfs/my-xf/master/jcr:content/my-component > ee2b49d80498e239dcc727c355611696

I think there was some stumbling with this approach. @sabyamon may know more details as he dealt with this a bunch.

Modularize Adobe Fonts outside Configuration Manager

Expected Behaviour

As a developer I expect Adobe Fonts configuration should be de-coupled from Configuration Manager so I can release each feature independently.

Actual Behaviour

Adobe Fonts configuration code resides in Config Manager.

Context-Aware Datasource

A datasource to power granite selects & colorfields that allows tenant / brand / locale specific properties

"all" package is outdated

all package points to 0.0.1-SNAPSHOT versions. We should

  1. decide wether latest "all" points to the latests, or to the latest releases,
  2. update accordingly

cc @adobe/adobe-dx-devs

dx_id should not start with a number

While writing FlexModel, I realized the ID service can generate an id that starts with a number. This is not compliant with the ID property for HTML.

We could:

  1. Prefix in our classes ("d" + id)
  2. Change the ID service.

For now I am going to prefix.

add pax-exam integration test capability for rendering

if possible to mimic aem's htl rendering context in a pax-exam osgi container (am a bit afraid around wcm dependencies...), this would be a first good coverage of both java and htl script to ensure that those htl are rendered correctly based on a developer providing content, script, and expected output.

Parlite - Respect cq:responsive node structure and output appropriate CSS classes

Expected Behaviour

  1. parlite respects cq:responsive nodes set by responsivegrid
  2. Outputs css classes in wrapper to correctly show / hide (no width or ordering as this is done by flex container)
  3. "default" node should have following behavior:
    1. No nodes - Everything - parlite-hide-all
    2. Mobile - tablet & desktop - parlite-hide-tablet parlight-hide-desktop
    3. Tablet - mobile & desktop - parlite-hide-mobile parlight-hide-desktop
    4. Mobile & Tablet - desktop only - parlite-hide-desktop

Actual Behaviour

None of this exists.

Reduce path complexity

Most projects in Dx have: src/main/content. I would argue this tree provides no value for UI related code.

Expected Behaviour

As a developer, I do not have to click on src, main, content to get to my code. I should be able to click on src to get to my code.

Actual Behaviour

I click a lot.

Reproduce Scenario (including but not limited to)

Click on apps admin app src main content.

Steps to Reproduce

Just start click'n.

Platform and Version

All of them.

Sample Code that illustrates the problem

https://github.com/adobe/adobe-dx

Logs taken while reproducing problem

LOG: It takes 5+ seconds to descend into being able to work.

DX slider widget

make available a widget that allows, in a user friendly way, to provide:

  • no value,
  • 0 value,
  • positive random value

default slider can't be "disabled" by user choice.

Abstraction for breakpoint service.

As a developer I want a service to provide me with proper breakpoint fallbacks for the property I provide so that I do not have to re-implement my own breakpoint fallbacks for each property individually.

Context

We have background color, foreground color, background image, and spacing that all need this service. We should be able to ask for a property (padding left) and the current breakpoint (desktop) and if the the property doesn't exist, it is probably empty so that tablet, mobile can still exist but we're not outputting unnecessary code.

Build fails locally

Expected Behaviour

The build works.

Actual Behaviour

The build fails.

Reproduce Scenario (including but not limited to)

Try to build.

Steps to Reproduce

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

add release process

as an owner i want to be able to release individual adobe-dx modules. Goal being that anyone could simply (assuming configuring a maven repository is simple) add a module for his own project.

GH action from time to time times out on fetching GH packages

typically
[ERROR] Failed to execute goal biz.aQute.bnd:bnd-baseline-maven-plugin:4.2.0:baseline (baseline) on project com.adobe.dx.testing: Unable to locate a previous version of the artifact: Could not transfer artifact com.adobe.dx:com.adobe.dx.testing:jar:0.0.2 from/to github-dx (https://maven.pkg.github.com/adobe/adobe-dx): Transfer failed for https://maven.pkg.github.com/adobe/adobe-dx/com/adobe/dx/com.adobe.dx.testing/0.0.2/com.adobe.dx.testing-0.0.2.jar: Connection timed out (Read failed) -> [Help 1]

CI Integration

Expected Behaviour

As a developer, I would like a CI service to build my branch for which my PR is based on so that it can check for:

  1. Unit test coverage (Java & Javascript)
  2. Security vulnerabilities (as described by Cloud Manager rules)
  3. Ability to compile

Actual Behaviour

There is no CI service.

Reproduce Scenario (including but not limited to)

  1. Submit a PR

Steps to Reproduce

  1. Submit a PR

Platform and Version

All

Sample Code that illustrates the problem

None

Logs taken while reproducing problem

Submitted PR

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.