Skip to content

TMS-962: First stable version.#15

Open
aerkkilae wants to merge 17 commits intocodereviewfrom
TMS-962
Open

TMS-962: First stable version.#15
aerkkilae wants to merge 17 commits intocodereviewfrom
TMS-962

Conversation

@aerkkilae
Copy link
Contributor

How Has This Been Tested?

Local, stage

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the [CONTRIBUTING] document.

@aerkkilae aerkkilae requested a review from a team September 14, 2023 09:19
Copy link

@geniem-jonipievilainen geniem-jonipievilainen left a comment

Choose a reason for hiding this comment

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

Todella hyvä näköistä koodia. Pieniä näennäisiä fixejä kommenteissa. Kurkkaa ne läpi.
Ja kurkkaa tarviiko assets kansiota ollenkaan. Muutoksissasi lähtee wp_enqueue_script:ä pois, niin ei välttämättä niissä käytettyjä tiedostoja tarvitse enää pitää tallessa?

src/Plugin.php Outdated
* @return array
*/
private function register_page_template( $templates ) : array {
$templates['page-lunch-menus-list.php'] = __( 'Lounaslista' );

Choose a reason for hiding this comment

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

Varmaan tarvis käänökselle domaini? tms-plugin-lunch-menus

src/Plugin.php Outdated
);
}
public function load_localization() {
load_plugin_textdomain(

Choose a reason for hiding this comment

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

\load_plugin_textdomain

'boilerplate-admin-css',
$this->dist_uri . 'admin.css',
[],
$this->mod_time( 'admin.css' ),

Choose a reason for hiding this comment

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

admin.css ei ole poistettu distin alta

'boilerplate-public-js',
$this->dist_uri . 'public.js',
[ 'jquery' ],
$this->mod_time( 'public.js' ),

Choose a reason for hiding this comment

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

public.js löytyy edelleen dist:n alta

'boilerplate-admin-js',
$this->dist_uri . 'admin.js',
[ 'jquery' ],
$this->mod_time( 'admin.js' ),

Choose a reason for hiding this comment

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

admin.js löytyy edelleen distin alta

Copy link

@geniem-jonipievilainen geniem-jonipievilainen left a comment

Choose a reason for hiding this comment

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

Jes, nyt on 💎

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.

3 participants