Coder Social home page Coder Social logo

Comments (11)

NullVoxPopuli avatar NullVoxPopuli commented on May 23, 2024 1

@sudonitesh interesting, what OS are you on?

also, for this task, you can just work in the frontend directory, so:

cd packages/frontend
yarn && yarn start:dev

that should get you up and running :)

from emberclear.

NullVoxPopuli avatar NullVoxPopuli commented on May 23, 2024 1

Ah ok. Yeah, the run script won't work on Windows. But everything else should.

from emberclear.

sudonitesh avatar sudonitesh commented on May 23, 2024

I'd like to work on this

from emberclear.

NullVoxPopuli avatar NullVoxPopuli commented on May 23, 2024

@sudonitesh awesome! how can I help you get started?

from emberclear.

sudonitesh avatar sudonitesh commented on May 23, 2024

@NullVoxPopuli when I tried it shows error
[hitman@BlackBox emberclear (master *)]$ ./run yarn start:dev
./run: line 7: $'\r': command not found
./run: line 11: $'\r': command not found
./run: line 12: syntax error near unexpected token $'{\r'' '/run: line 12: function runstuff {
[hitman@BlackBox emberclear (master *)]$`

from emberclear.

sudonitesh avatar sudonitesh commented on May 23, 2024

I'm on ubuntu bash (WSL)

from emberclear.

NullVoxPopuli avatar NullVoxPopuli commented on May 23, 2024

interesting. I'm on ubuntu, and use bash.
what's WSL?

not sure why the run script isn't compatible. hmm

from emberclear.

sudonitesh avatar sudonitesh commented on May 23, 2024

Windows Subsystem for Linux
I love bash of ubuntu but game too. So, its great for me 😉

from emberclear.

sudonitesh avatar sudonitesh commented on May 23, 2024

@NullVoxPopuli I thought I could get the Id of the "cross button" and use element selectors to hide the form. But I couldn't find the id's and where they are

from emberclear.

NullVoxPopuli avatar NullVoxPopuli commented on May 23, 2024

I found this:

  <a class='button is-small' {{action (mut isFormVisible) true}}>
    <span class='icon'>
      {{#if isFormVisible}}
        {{fa-icon 'times'}}
      {{else}}
        {{fa-icon 'plus'}}
      {{/if}}
    </span>
  </a>
</p>

{{#if isFormVisible}}
  <ChannelForm @onSubmit={{action (mut isFormVisible) false}} />
{{/if}}

in src/ui/components/sidebar/channels/template.hbs

so, my hunch is that

  <a class='button is-small' {{action (mut isFormVisible) true}}>

needs to change to

  <a class='button is-small' {{action (mut isFormVisible) (not isFormVisible)}}>

for a toggle-effect.

from emberclear.

NullVoxPopuli avatar NullVoxPopuli commented on May 23, 2024

resolved by: https://gitlab.com/NullVoxPopuli/emberclear/commit/f69b7a106ade1f39f6c43a68bacc80bd755abf5f

image

from emberclear.

Related Issues (20)

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.