Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/AUT-470/FooBar-Extension #192

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Fix/AUT-470/FooBar-Extension #192

wants to merge 7 commits into from

Conversation

focaloid-dev
Copy link

@focaloid-dev focaloid-dev commented May 17, 2021

Related issue:

https://oat-sa.atlassian.net/browse/AUT-470

Description

This is a foo-bar extension for Onboard Process, No testing environment has been configured in the kitchen Environment.

Current Issue Extension is installed but not showing up in Application Header.

Steps to reproduce:

  1. Install the extension in the application using devTools.
  2. Clear the cache using the application or by deleting the cache manually.
  3. Refresh the page .

How to test: Clone the branch and install it in the application .

Copy link
Contributor

@mike-ionut-mihai-sandu-tao mike-ionut-mihai-sandu-tao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code is respecting code style rules
  • New code is respecting best practices
  • New code is not subject to concurrency issues (if applicable)
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful

@@ -0,0 +1,52 @@

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty line,

* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Copyright (c) 2014-2020 (original work) Open Assessment Technologies SA;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bad year

$this->setData('author', 'Open Assessment Technologies SA');
$this->setView('templates/foobar.tpl');
}
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing \n

<section id="taoFooBar_other" name="Template" url="/taoFooBar/templates/foobar" />
</sections>
</structure>
</structures>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing \n also we need to allays format our code according to OAT
for PHP --> psr12
for Js we have a specific tool

@@ -0,0 +1,3 @@
<div class="main-container tao-scope">
<h1>Hello <?=(get_data('author'))?></h1>
</div>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing \n

@@ -0,0 +1,26 @@


define([], function(){

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format check please,
also the second commit looks good but the initial one is not as you have not used the conventional commits

@mike-ionut-mihai-sandu-tao
Copy link
Contributor

the PR is a start ,

i did not check any of the item on the list because :

  • New code is not covered by tests
  • New code is not respecting code style rules
  • New code is not respecting best practices
  • i did not test the feature on my local --> (we will do a kitchen deployment in the future for this)
  • Acceptance criteria are respected --> they were not respected
  • Pull request title and description are not meaningful --> inside the comment your should have some definitions like
    -- scope of the ticket and ticket number
    -- how to test
    -- environment where to test

also please take a look at this :
https://oat-sa.atlassian.net/wiki/spaces/NEX/pages/1279099439/Software+Development+Lifecycle

overall this is a exercise so this is how you learn ,
let's try to debug why the feature is now showing and after it i will assign you to small bugs

@focaloid-dev focaloid-dev changed the title Feature/barex Fix/AUT-470/FooBar-Extension May 17, 2021
Copy link

@bziondik bziondik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. no need to commit empty files
  2. use console instead of window.console
  3. when menu button will be fixed you will have only one controller index, other controllers dummy for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants